Angularjs 运行时出错";npm安装“;关于角形phonecat目录

Angularjs 运行时出错";npm安装“;关于角形phonecat目录,angularjs,git,npm,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

以下是错误消息:

> 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 >棱角的-phonecat@0.0.0安装后D:\prem\angular\angular phonecat >凉亭安装 bower ENOGIT git未安装或不在路径中 npm错误!Windows NT 6.1.7600 npm错误!argv“C:\\Program Files\\nodejs\\\\node.exe”C:\\Program Files\\nodejs \\节点\u模块\\npm\\bin\\npm cli.js“安装” npm错误!节点v0.12.4 npm错误!npm v2.10.1 npm错误!代码失效循环 npm错误!棱角的-phonecat@0.0.0安装后:`bower安装` npm错误!退出状态1 npm错误! npm错误!在角度上失败了-phonecat@0.0.0安装后脚本“bower安装” .npm错误!这很可能是angular phonecat软件包的问题, npm错误!与npm本身无关。 npm错误!告诉作者此操作在您的系统上失败: npm错误!凉亭安装 npm错误!您可以通过以下方式获取他们的信息: npm错误!npm所有者ls角形电话猫 npm错误!上面可能还有其他日志输出。 npm错误!请在任何支持请求中包括以下文件: npm错误!D:\prem\angular\angular phonecat\npm-debug.log
您的计算机上没有安装GIT。另见此处:


我无法将其标记为重复,因为另一个问题的答案不被接受。

您的计算机上没有安装GIT。另见此处:


我无法将其标记为重复,因为另一个问题的答案不被接受。

但我已安装git,并且它可用于其他任务,可能它不在路径中。在您的日志中非常清楚:
bower-ENOGIT-git未安装或不在路径中
Ok,您可以看到angular phonecat是我的根目录。如果这是错误的路径,我应该在哪里安装。请帮帮我,它快把我累死了。你的路径中需要
git
binary。将其添加到Windows路径环境中。类似于这里:您可能需要对它进行一些调整。但是我已经安装了git,它可以用于其他任务,可能它不在路径中。在您的日志中非常清楚:
bower-ENOGIT-git未安装或不在路径中
Ok,您可以看到angular phonecat是我的根目录。如果这是错误的路径,我应该在哪里安装。请帮帮我,它快把我累死了。你的路径中需要
git
binary。将其添加到Windows路径环境中。类似于这里:你可能需要调整一下。