【发布时间】:2015-12-07 07:27:29
【问题描述】:
我已经通过 npm 在我的项目中安装了 bower。 后来我尝试通过 bower 安装 angular js。
bower install angular#1.4.8
但我收到以下错误
bower not-cached git://github.com/angular/bower-angular.git#1.4.8
bower resolve git://github.com/angular/bower-angular.git#1.4.8
bower ECMDERR Failed to execute "git ls-remote --tags --heads git://github
.com/angular/bower-angular.git", exit code of #128 fatal: unable to connect to g
ithub.com: github.com[0: 192.30.252.130]: errno=No error
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.130]: errno=No error
我听说这类错误是由于防火墙问题和 git 过时问题引起的?
但我试过了,不幸的是没有为我工作。 提前致谢
【问题讨论】:
-
你在代理后面吗?
-
检查您的互联网代理设置
标签: git github bower command-prompt