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

command 'vscode-wardley-maps.helloWorld' not found #16

Open
octaviandavid opened this issue Nov 23, 2021 · 1 comment
Open

command 'vscode-wardley-maps.helloWorld' not found #16

octaviandavid opened this issue Nov 23, 2021 · 1 comment

Comments

@octaviandavid
Copy link

For some reason after installing the extension on Manjaro with vscode 1.62.0 the menu "Wardley Maps: Display Map" displayed an error: command 'vscode-wardley-maps.helloWorld' not found.

Opening the "Developer: Toggle Developer Tools" this error was present in the console:

workbench.desktop.main.js:sourcemap:1851 Activating extension 'damonsk.vscode-wardley-maps' failed: Cannot find module 'vscode-languageclient'
Require stack:
- /home/octo/.vscode-oss/extensions/damonsk.vscode-wardley-maps-1.0.12/extension/out/extension.js
- /usr/lib/code/out/vs/loader.js
- /usr/lib/code/out/bootstrap-amd.js
- /usr/lib/code/out/bootstrap-fork.js.

The error was fixed by:

cd $HOME/.vscode-oss/extensions/damonsk.vscode-wardley-maps-1.0.12 
npm i --only=prod

Perhaps this should have been automatically run by the extension on activation phase.

@deepseven
Copy link

Many thanks for that! I was getting the same error when trying to work with VSCode Web and Gitpod.

Adding a .gitpod.yml file with the following lines did the trick:

tasks:
  - init: cd /workspace/.vscode-remote/extensions/damonsk.vscode-wardley-maps-1.0.12 && npm i --only=prod

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

2 participants