nvs icon indicating copy to clipboard operation
nvs copied to clipboard

VS Code + npm script runner + nvs

Open Orbis1 opened this issue 3 years ago • 0 comments

OS: fedora 35

IDE: Visual Studio Code

Error:

Executing task: npm run test < /usr/bin/bash: line 1: npm: command not found The terminal process "/usr/bin/bash '-c', 'npm run test'" failed to launch (exit code: 127).

Please help me with setting of my workflow in VS Code. I'm using npm script runner, but on linux it does't work well. When new terminal created, it doesn't know about location of node/npm It looks like I need to add "nvs use lts" before script runner. How can I achieve it?

gnome-shell-screenshot-3f1x8z

Orbis1 avatar Apr 26 '22 21:04 Orbis1