加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

twitter-bootstrap – 当我运行’bower install’时,为什么会出

发布时间:2020-12-18 00:23:16 所属栏目:安全 来源:网络整理
导读:我正在使用这个 middleman项目并尝试运行bower安装并获得以下内容…… bower not-cached git://github.com/jquery/jquery.git#~2.0bower resolve git://github.com/jquery/jquery.git#~2.0bower not-cached git://github.com/appleboy/normalize.scss.git#~2
我正在使用这个 middleman项目并尝试运行bower安装并获得以下内容……
bower not-cached    git://github.com/jquery/jquery.git#~2.0
bower resolve       git://github.com/jquery/jquery.git#~2.0
bower not-cached    git://github.com/appleboy/normalize.scss.git#~2.1
bower resolve       git://github.com/appleboy/normalize.scss.git#~2.1
bower not-cached    git://github.com/Modernizr/Modernizr.git#~2.6.2
bower resolve       git://github.com/Modernizr/Modernizr.git#~2.6.2
bower ECMDERR       Failed to execute "git ls-remote --tags --heads git://github.com/jquery/jquery.git",exit code of #128

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

谢谢!

解决方法

我有一个类似的问题,并且由于我的网络阻止了某些端口.我尝试(和工作)的是强迫git使用“https”连接而不是“git”连接.希望它有所帮助:
git config --global url."https://".insteadOf git://

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读