我打开git bash并输入npm install然后返回:
npm install
bash: npm command not found
我不明白,因为我有node.js命令提示符,当我输入npm -v然后它返回3.7.3.怎么会在git中不起作用?
node.js
npm -v
3.7.3
git shell node.js npm git-bash
git ×1
git-bash ×1
node.js ×1
npm ×1
shell ×1