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

时间:2013-04-22 05:56:33

标签: bower

我在Windows 8上使用Bower,每当我尝试安装软件包时都会出错。在这种情况下,我正在尝试安装Twitter Bootstrap。所以我跑......

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(通过Rails Installer确认)。

导致此错误的原因是什么?如何解决?

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

1 个答案:

答案 0 :(得分:2)

您是否尝试过bower cache-clean然后bower install bootstrap,在这里为Windows Server 2008工作。

相关问题