为什么在运行'bower install'时出现此错误?

Ant*_*tiz 7 middleman twitter-bootstrap

我正在使用这个中间人项目并尝试运行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
Run Code Online (Sandbox Code Playgroud)

谢谢!

fjf*_*fjf 10

我有类似的问题,因为我的网络阻止了某些端口.我尝试(和工作)的是强迫git使用"https"连接而不是"git"连接.希望它有所帮助:

git config --global url."https://".insteadOf git://
Run Code Online (Sandbox Code Playgroud)