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.
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:
The error was fixed by:
Perhaps this should have been automatically run by the extension on activation phase.