Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Docker extension commands work #226

Closed
bradygmsft opened this issue Mar 1, 2018 · 7 comments
Closed

No Docker extension commands work #226

bradygmsft opened this issue Mar 1, 2018 · 7 comments

Comments

@bradygmsft
Copy link

I'm using 0.0.25, and I've removed all my extensions down to three:

  1. Docker
  2. C/C++
  3. Arduino

None of the commands will work from either the command palette or from the explorer window. When I click the refresh button in the Docker explorer window I see this error:

command 'vscode-docker.explorer.refresh' not found

When I run the Docker: Add files to workspace command I see this error:

command 'vscode-docker.configure' not found
@bradygmsft
Copy link
Author

cc @chrisdias FYI

@chrisdias
Copy link
Member

The extension isn't loading which is why you get the "command not found" errors. Can you do a few things for me to help narrow it down:

  • disable/remove the C++ and Arduino extensions and see if it repros still.
  • Open the chrome dev tools and see if there are any errors in the console (F1 > Toggle Developer Tools)
  • Try the extension in STable, does it load there?

@bradygmsft
Copy link
Author

Thanks for the tip on the debugger, Chris. I am using Stable, and when I opened the dev tools I think I immediately see the issue. Looks like there's a dependency on vscode-extension-telemetry in the Docker extension that's not getting pulled in?

cuprit

@chrisdias
Copy link
Member

chrisdias commented Mar 1, 2018

Getting closer... :)

Can you try the extension in Insiders and see if it loads there?

Windows/Mac/Linux?

I have a suspicion that the extension didn't install/update correctly and is now in a bad state. We've seen this when you are doing and update of VS Code and the extensions are updating at the same time, but you restart in the middle of the extension updates (not your fault).

Uninstall and reinstall may not actually help :(. So, try uninstalling the extension, restarting VS Code completely, and then installing it again from the marketplace. IMPORTANT: Let me know if you see anything weird here, like the "Reload" button not being shown after uninstall or install.

From there, we may have to delete the .vscode/extensions folder.

Thanks.

@bradygmsft
Copy link
Author

Mac. And not on Insiders but will try that next.

  1. I uninstalled the extension, fully closed down VS Code, then opened it back up.
  2. I go to the Extensions explorer, then search for Docker and install it again.
  3. I take note that both the Reload and Uninstall buttons light up once the extension has been re-installed.
  4. I close VS Code fully again.
  5. I re-open VS Code.
  6. I see the Docker Explorer open up, and this time, I can click the Refresh button without any errors, and the other Docker commands re-appear.

Seems like it was as you proposed - to make sure it's fixed I need to uninstall and then close VS Code.

@leepowelldev
Copy link

Same issue. Can confirm uninstall, hard restart of VS Code and a reinstall seems to work.

@AlexandreOuellet
Copy link

AlexandreOuellet commented Jul 9, 2018

The same thing is happening again for me, and uninstalling/closing/reinstalling/closing/restarting doesn't work. Nevermind, it seems that there was a mismatch between docker on MobyLinuxVM and what I had installed on my windows machine.

running vscode 1.25.0 and the docker extension 0.0.27. Docker is version 18.03.1-ce, build 9ee9f40, and I am able to pull and run various docker images

@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants