ECMDERR during bower install

问题:在进行bower install安装项目依赖时报以下错误:

 

bower angular-animate#~1.4.2 ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/angular/bower-angular-animate.git", 
exit code of #128 fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443:
Timed out Additional error details: fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443: Timed out

  

解决:

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

  

posted @ 2020-07-03 14:06  Doclimb  阅读(220)  评论(0)    收藏  举报