📜  npm 无法识别 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:22.053000             🧑  作者: Mango

代码示例2
Just add:

;C:\Program Files\nodejs\
To the end of your Path variable on the "User variable" section of the Environment Variables on the System Properties.

After that, reopen your command prompt and type

npm
This should work.