首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Git / Bower错误:退出代码# 128 &连接失败

Git / Bower错误:退出代码# 128 &连接失败
EN

Stack Overflow用户
提问于 2014-02-04 13:42:46
回答 20查看 94.4K关注 0票数 86

我正在使用Bower安装几个库。出于演示目的,我在这里安装bootstrap。不管是什么包,我都会收到以下错误:

C:\Scott>bower install bootstrap
bower not-cached    git://github.com/twbs/bootstrap.git#*
bower resolve       git://github.com/twbs/bootstrap.git#*
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github
.com/twbs/bootstrap.git", exit code of #128

Additional error details:
fatal: unable to access 'https://github.com/twbs/bootstrap.git/': Failed connect
to github.com:443; No error    

我尝试使用下面的解决方案来删除第一个错误--我在这个search中发现了这个错误

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

但是,这不起作用,该页面上找到的任何其他解决方案也不起作用。在搜索第二个错误的解决方案时,如果您在公司网络/防火墙后面,似乎为代理服务器设置用户名/密码将解决该问题。但是,我没有使用代理服务器,因为我使用的是家用pc/网络(windows 7 x64)。

谢谢!

编辑:带有错误的命令窗口:

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21544803

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档