Bower安装错误,“;git的状态代码:127“;

Bower安装错误,“;git的状态代码:127“;,bower,Bower,我在Windows8上使用Bower,每次尝试安装软件包时都会出错。在本例中,我尝试安装Twitter引导程序。所以我跑 bower install bootstrap 。。。我得到这个错误 bower cloning git://github.com/twitter/bootstrap.git bower cached git://github.com/twitter/bootstrap.git bower fetching bootstrap bower error status code

我在Windows8上使用Bower,每次尝试安装软件包时都会出错。在本例中,我尝试安装Twitter引导程序。所以我跑

bower install bootstrap
。。。我得到这个错误

bower cloning git://github.com/twitter/bootstrap.git
bower cached git://github.com/twitter/bootstrap.git
bower fetching bootstrap
bower error status code of git: 127

There were errors, here's a summary of them:
- bootstrap status code of git: 127
CreateProcessW: The system cannot find the file specified.
我使用的是Git版本1.7.9.mysgit.0(通过安装)

导致此错误的原因是什么?如何修复


为了进一步隔离此问题,我已在Cloud9 IDE上成功运行此命令。

您是否尝试将
bower缓存清理干净,然后
bower install bootstrap
,用于Windows Server 2008。

它是否在路径上(git)?@gustavohenke是,在安装和运行
Git时,我选择将Git添加到路径中--version
返回预期的版本号。我将在假设它可以工作的情况下将其标记为正确的工作(我已经删除了Windows)。感谢您的回答,这些命令必须从git bash控制台执行,否则将无法工作。