shailen-naidoo / Netlify

A VS Code extension that displays your Netlify build statuses and more - 18k+ installs
https://marketplace.visualstudio.com/items?itemName=shailen.netlify
24 stars 2 forks source link

Unable to use the extension #18

Closed FrankySnow closed 3 years ago

FrankySnow commented 3 years ago

Hello, after configuring all the parameters (yes, I've double checked them) in my workspace settings and restarting VS Code, I am unable to use the extension.

The status bar shows "Netlify build status: Failed to fetch deploy status" and when I launch a command, there is an error "command *** not found". The Netlify explorer shows "No deploys summary".

Am I missing something ?

shailen-naidoo commented 3 years ago

Are you able to send a screenshot of your configuration for Netlify?

rthinkel commented 3 years ago

I'm also having this issue. "View latest Netlify deploy" works no problem, but I do not get the deploy summary in the Netlify explorer tab, and "output" section of the terminal displays this:

Failed to fetch deploy status. Stopping polling on Netlify Deploys API.

I also have checked and rechecked the workspace parameters and restarted multiple times. Any thoughts?

rthinkel commented 3 years ago

I've been able to make this extension work by downgrading to version 7.0. Sadly, the deploy panel isn't available, but all I really need is the build status at the bottom anyway. Hopefully future versions address this, as this is an excellent extension for Netlify users!

shailen-naidoo commented 3 years ago

@rohiaudio PRs are welcome! :smiley:

FrankySnow commented 3 years ago

@ShailenNaidoo According to the docs, I've set netlify.site_id, netlify.build_hook, netlify.api_token and netlify.set_interval in the .vscode/settings.json of my Workspace.

I've been able to make this extension work by downgrading to version 7.0. Sadly, the deploy panel isn't available, but all I really need is the build status at the bottom anyway. Hopefully future versions address this, as this is an excellent extension for Netlify users!

@rohiaudio How and what to downgrade to version 7.0 ? AFAIK this extension is currently at 1.4.0

rthinkel commented 3 years ago

@ShailenNaidoo According to the docs, I've set netlify.site_id, netlify.build_hook, netlify.api_token and netlify.set_interval in the .vscode/settings.json of my Workspace.

I've been able to make this extension work by downgrading to version 7.0. Sadly, the deploy panel isn't available, but all I really need is the build status at the bottom anyway. Hopefully future versions address this, as this is an excellent extension for Netlify users!

@rohiaudio How and what to downgrade to version 7.0 ? AFAIK this extension is currently at 1.4.0

Version 0.7, my apologies.

mickmcg commented 3 years ago

I have the same "Netlify Build Status: Failed to fetch deploy status" with latest 1.4.0. 0.7 downgrade also worked for me.

shailen-naidoo commented 3 years ago

Okay thanks for the notification, I'll look into it tomorrow

On Tue, 29 Dec 2020, 01:28 mickmcg, notifications@github.com wrote:

I have the same "Netlify Build Status: Failed to fetch deploy status" with latest 1.4.0. 0.7 downgrade also worked for me.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ShailenNaidoo/Netlify/issues/18#issuecomment-751895138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKSRXCIN7UMZN57CGAIQATSXEIDXANCNFSM4UF2EFOQ .

shailen-naidoo commented 3 years ago

@mickmcg Can you send me your output from the "Output" panel, just select "Netlify" in the list

shailen-naidoo commented 3 years ago

@FrankySnow Is the site that you want to observe "private" or "public"?

FrankySnow commented 3 years ago

@FrankySnow Is the site that you want to observe "private" or "public"?

@ShailenNaidoo the site is public but his repo is private

shailen-naidoo commented 3 years ago

It appears that Netlify has removed the deploy summary information from the deploys API, I'll need to investigate further but it seems that the Netlify Sidebar will need to be removed if the summary information is not available

chriskyfung commented 3 years ago

It appears that Netlify has removed the deploy summary information from the deploys API, I'll need to investigate further but it seems that the Netlify Sidebar will need to be removed if the summary information is not available

@ShailenNaidoo Is that the reason why nothing displays on the sidebar?

shailen-naidoo commented 3 years ago

Yes that is correct, I'll need to remove it in the next release

On Tue, 09 Mar 2021, 08:41 Chris K.Y. FUNG, notifications@github.com wrote:

It appears that Netlify has removed the deploy summary information from the deploys API, I'll need to investigate further but it seems that the Netlify Sidebar will need to be removed if the summary information is not available

@ShailenNaidoo https://github.com/ShailenNaidoo Is that the reason why nothing displays on the sidebar?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ShailenNaidoo/Netlify/issues/18#issuecomment-793457883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKSRXGYNGLRJX5ERJAEA6DTCW7IPANCNFSM4UF2EFOQ .