Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command not found when installing from vsix

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": enter image description here

What could be the issue? What is different from "Debug configuration" and a built vsix?

regards,

like image 516
Aurélien Pupier Avatar asked Oct 29 '25 04:10

Aurélien Pupier


1 Answers

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 install
and then
vsce package
again.

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),

like image 79
Eric Avatar answered Oct 31 '25 00:10

Eric



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!