Reputation: 814
I'm trying to build the vsix for my project vscode-atlasmap locally from this branch https://github.com/apupier/vscode-atlasmap/tree/36-useWebiewAPI
When I launch the debug instance, it is working fine. If i build the vsix, install it and then try to use the "Open AtlasMap" I have an error message "command 'atlasmap.start' not found"
I got a message that the extension has been successfully installed.
The mentioned command is listed in the "Contributions":
What could be the issue? What is different from "Debug configuration" and a built vsix?
regards,
Upvotes: 4
Views: 2685
Reputation: 73
Make sure that all of your dependencies are installed via
node install
before packaging. Note that vsce will only install those mentioned in your package.json.
When I had this problem, I moved extend, request, and underscore from devDependencies to dependences. Then I ran
node installand then
vsce packageagain.
To retry, make sure you uninstall the old version of your package, and that you remove the package from wherever it is installed (for me in .vscode/extensions),
Upvotes: 2