我正在使用Debian 9.3.(拉伸)我无法运行"npm"命令.
输出为 node -v
bash: node: command not found
Run Code Online (Sandbox Code Playgroud)
输出为 nodejs -v
v4.8.2
Run Code Online (Sandbox Code Playgroud)
输出为 npm -v
bash: npm: command not found
Run Code Online (Sandbox Code Playgroud)
我是Debian的新手,我无法理解发生了什么.
- 我已经重新安装了Node.js
- 我已经尝试过遵循官方页面的步骤了.
- 我已经运行了apt-get install npm输出E: Unable to locate package npm.
- 我在Debian Testing时遇到了同样的错误.
感谢阅读和帮助
- Melt