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

activation of 0.0.1 release failed #14

Closed
avibryant opened this issue Nov 28, 2018 · 6 comments
Closed

activation of 0.0.1 release failed #14

avibryant opened this issue Nov 28, 2018 · 6 comments

Comments

@avibryant
Copy link

I downloaded the recent release and installed it into VS Code 1.29.1 running on Mac OS 10.13.6.

The developer tools show the following error:
Activating extension 'BazelBuild.vscode-bazel' failed: Cannot find module 'xml2js'

@smukherj1
Copy link
Contributor

Did you run "npm install"? in the extension directory?

@allevato
Copy link
Collaborator

By "downloaded the recent release", do you mean from the VS Code Marketplace?

I just filed #15 and it looks like I'm seeing the same error you reported here, so it looks like they're the same issue.

@avibryant
Copy link
Author

I downloaded https://github.com/bazelbuild/vscode-bazel/releases/download/0.0.1/vscode-bazel-0.0.1.vsix and installed it via the "Install from VSIX..." option

@allevato
Copy link
Collaborator

I've found the problem—some of the Node.js dependencies the extension needs at runtime were listed under devDependencies instead. (Rookie Node.js mistake on my part!)

I'll have a fix and a new release out shortly.

@allevato
Copy link
Collaborator

This should now be fixed by the 0.0.2 release. Can you please try it out?

@avibryant
Copy link
Author

This got further and I think the error I am now hitting may be related to my specific WORKSPACE, so I think we can close this issue now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants