简体   繁体   English

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

[英]Got an error while running “npm install” on angular-phonecat directory

Here is error message : 这是错误消息:

> 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

You don't have GIT installed on your machine. 您的计算机上未安装GIT。 See also here: cannot start angular-phonecat, postinstall script failing 另请参阅此处: 无法启动angular-phonecat,安装后脚本失败

I cannot marked it as duplicate since the answer was not accepted on the other question. 我不能将其标记为重复,因为另一个问题未接受答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 npm install / bower安装问题以及使用angular-phonecat安装程序弃用的模块 - npm install / bower install issue and deprecated modules with angular-phonecat setup 无法为angular-phonecat教程进行npm安装:找不到模块&#39;update-notifier&#39; - Cannot npm install for angular-phonecat tutorial : Cannot find module 'update-notifier' Angular-phonecat入门(降低安装)失败 - Angular-phonecat getting started (Bower install) fail angular-phonecat教程-服务器不起作用 - angular-phonecat tutorial- server not working 如何在无头服务器上运行angular-phonecat教程测试 - How do I run the angular-phonecat tutorial tests when it is running on a headless server 使用Node.js错误404的angular-phonecat应用程序未找到:/app/index.html - angular-phonecat application using Node.js error 404 Not Found: /app/index.html 从 1.x 升级的 angular-phonecat:错误未知提供者:phoneProvider &lt;- 电话 - angular-phonecat upgrading from 1.x : error Unknown provider: phoneProvider <- phone Angularjs:angular-phonecat教程应用程序首次单元测试失败 - Angularjs: angular-phonecat tutorial app fails first unit test 用于angular-phonecat应用程序的依赖项(nodejs)的后安装脚本 - postinstall script for dependencies(nodejs) for angular-phonecat app Npm安装; 在angular-phonecat@0.0.0预启动脚本处失败 - Npm install; Failed at the angular-phonecat@0.0.0 prestart script
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM