我想安装angularjs
使用鲍尔OSX el-captain
。当我运行凉亭安装,它会输出几行如下:鲍尔卡在OSX
bower cached git://github.com/twbs/bootstrap.git#3.3.6
bower validate 3.3.6 against git://github.com/twbs/bootstrap.git#*
但随后会卡住。我也尝试了冗长的选项,希望能得到更多的信息,但输出结果保持不变。
任何想法,为什么它卡?
谢谢。
我想安装angularjs
使用鲍尔OSX el-captain
。当我运行凉亭安装,它会输出几行如下:鲍尔卡在OSX
bower cached git://github.com/twbs/bootstrap.git#3.3.6
bower validate 3.3.6 against git://github.com/twbs/bootstrap.git#*
但随后会卡住。我也尝试了冗长的选项,希望能得到更多的信息,但输出结果保持不变。
任何想法,为什么它卡?
谢谢。
我有同样的问题,尝试此修复,它将使用https方法,而不是git方法。
git config --global url.https://.insteadOf git://
希望这将解决您的问题。
工作。谢谢!! – pokiman
由于很少的代理服务器设置,您的系统可能会在通过bower从git下载软件包时被阻止。所以在您的.bowerrc文件中,您需要提供代理配置。
此链接可能会帮助你! bower behind a proxy
这里的例子.bowerrc文件:
{
"directory": "bower_components",
"proxy":"your proxy http url",
"https-proxy":"http://<username>:<password>@<your proxy>"
}
在您需要使用您的信息,以取代上述设置
。
你等了多久才发现它卡住了? – atefth
30分钟。在我的Windows机器上,使用完全相同的bower.json文件,脚本在5分钟内完成。 – pokiman
大声笑好吧我认为肯定有问题... – atefth