我正在使用Debian 9.3 (stretch),无法运行 "npm" 命令。
node -v
的输出结果:
bash: node: command not found
nodejs -v
输出结果:
v4.8.2
npm -v
的输出结果。
bash: npm: command not found
我是Debian的新手,无法理解发生了什么情况。
- 我已经重新安装了Node.js
- 我已经尝试按照官网的步骤进行操作。
- 我已经运行了apt-get install npm
,但输出E: Unable to locate package npm
。
- 我曾经在Debian Testing中遇到同样的错误。
感谢您的阅读和帮助。
- Melt