自己在做H5手机开发,去下载ngCordova时出现:



C:\Users\admin\Desktop\t\myApp>bower install ngCordova
bower ngCordova#*           not-cached https://github.com/driftyco/ng-cordova.git#*
bower ngCordova#*              resolve https://github.com/driftyco/ng-cordova.git#*
bower ngCordova#*              ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/driftyco/ng-cordova.git", exit code of #128 fatal: unable to acc
ess 'https://github.com/driftyco/ng-cordova.git/': Failed to connect to 172.105.214.141 port 1080: Timed out
Additional error details:
fatal: unable to access 'https://github.com/driftyco/ng-cordova.git/': Failed to connect to 172.105.214.141 port 1080: Timed out

下载ngCordova出现 ECMDERR Failed to execute问题

连接超时问题,这个是之前我设置有代理的原因.找了许久才发现的问题

在一个帖子下的评论中看到的,这个帖子的回复

解决方法:在CMD窗口输入   git config --global --edit

原先的配置文件是这样的:

下载ngCordova出现 ECMDERR Failed to execute问题

修改后如下图所示:

就是把代理删除就好了

下载ngCordova出现 ECMDERR Failed to execute问题

效果如下:

下载ngCordova出现 ECMDERR Failed to execute问题

相关文章: