Angularjs 在角度上失败了-seed@0.0.0安装后脚本';凉亭安装';

Angularjs 在角度上失败了-seed@0.0.0安装后脚本';凉亭安装';,angularjs,node.js,webstorm,Angularjs,Node.js,Webstorm,当我从webstormIDE中的项目目录运行命令npm install时,我遇到了以下异常 bower angular-route#~1.4.0 ENOGIT git is not installed or not in the PATH npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\n

当我从
webstorm
IDE中的项目目录运行命令
npm install
时,我遇到了以下异常

bower angular-route#~1.4.0      ENOGIT git is not installed or not in the PATH

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! angular-seed@0.0.0 postinstall: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-seed@0.0.0 postinstall script 'bower install'.
npm ERR! This is most likely a problem with the angular-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get their info via:
npm ERR!     npm owner ls angular-seed
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\sample5\npm-debug.log
我已经安装了
node js
并使用命令
npm install-g bower
安装了
bower


请帮我解决这个问题?

@daniel,非常感谢,是的,似乎是git问题,我正在检查。但在我的ubuntu机器中,我没有任何git,但命令仍然有效。你能告诉我这个问题与操作系统有关吗?在Windows中,GIT是工作所必需的吗?node.js本身需要GIT,但在Windows中,您需要将位置放在环境变量中,因为它不会自动检测位置is@daniel,非常感谢,问题仅限于git。问题解决了now@daniel,非常感谢,是的,似乎是git问题,我正在检查。但在我的ubuntu机器中,我没有任何git,但命令仍然有效。你能告诉我这个问题与操作系统有关吗?在Windows中,GIT是工作所必需的吗?node.js本身需要GIT,但在Windows中,您需要将位置放在环境变量中,因为它不会自动检测位置is@daniel,非常感谢,问题仅限于git。现在解决了