安装bower包时出错

时间:2014-06-02 20:41:51

标签: bower

当我尝试安装bower packeg时出现错误。

我的错误:

MacBook-Pro-de-Anthony:Front-End anthonycluse$ bower install flexslider
bower cached        git://github.com/woothemes/FlexSlider.git#ce5441b214
bower validate      ce5441b214 against git://github.com/woothemes/FlexSlider.git#*
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/woothemes/FlexSlider.git", exit code of #128

Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.131]: errno=Connection refused

1 个答案:

答案 0 :(得分:4)

错误可能是由代理/证书连接问题引起的,请尝试执行以下命令,以获取错误退出代码#128

git config --global url."https://".insteadOf git://