在angular-phonecat目录下运行“npm install”时出错

时间:2015-11-08 07:29:09

标签: angularjs git npm

以下是错误消息:

> angular-phonecat@0.0.0 postinstall D:\prem\angular\angular-phonecat
> bower install
bower ENOGIT        git is not installed or not in the PATH
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! angular-phonecat@0.0.0 postinstall: `bower install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-phonecat@0.0.0 postinstall script 'bower install'
.npm ERR! This is most likely a problem with the angular-phonecat 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-phonecat
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     D:\prem\angular\angular-phonecat\npm-debug.log

1 个答案:

答案 0 :(得分:0)

您的计算机上未安装GIT。另见:cannot start angular-phonecat, postinstall script failing

我不能将其标记为重复,因为在另一个问题上没有接受答案。