小编dam*_*999的帖子

为什么npm install不能在git bash上运行

我打开git bash并输入npm install然后返回:

bash: npm command not found
Run Code Online (Sandbox Code Playgroud)

我不明白,因为我有node.js命令提示符,当我输入npm -v然后它返回3.7.3.怎么会在git中不起作用?

git shell node.js npm git-bash

28
推荐指数
4
解决办法
6万
查看次数

标签 统计

git ×1

git-bash ×1

node.js ×1

npm ×1

shell ×1