环境
Ubuntu 20.04(正式Beta版)
Visual Studio Code 1.44.2,通过ubuntu-make(umake)安装:umake ide visual-studio-code
节点12通过nvm install 12 && nvm alias default 12 && nvm use default
VS代码扩展:开玩笑
错误
Finished running all tests. Starting watch mode. /bin/sh: 1: npm: not found /bin/sh: 1: npm: not found Starting Jest in Watch mode failed too many times and has been stopped. see troubleshooting: https://github.com/jest-community/vscode-jest/blob/master/README.md#troubleshooting
我想使用nvm并希望避免诸如调整bashrc之类的变通办法。
没有工作:
settings.json
(通过Ctrl + Shift + P,“打开设置Json”):"terminal.integrated.shell.linux": "/bin/bash"
[环境Ubuntu 20.04(正式Beta版)Visual Studio Code 1.44.2,通过ubuntu-make(umake)安装:umake ide visual-studio-code节点12通过nvm install 12 && nvm别名default 12&...
只是在ssh上运行命令时出现问题,其中来自nvm的节点二进制文件不会被添加到非登录shell的路径中,因此无法使用。老实说,无法弄清楚如何将其添加到此处并使其相对于已安装的用户。