2000字范文,分享全网优秀范文,学习好帮手!
2000字范文 > bower install 报错fatal: unable to access ‘https://github.com/angular/bow

bower install 报错fatal: unable to access ‘https://github.com/angular/bow

时间:2020-09-19 07:04:43

相关推荐

bower install 报错fatal: unable to access ‘https://github.com/angular/bow

bower install时出现很多unable to access '/angular/bower-angular-touch.git/'类似的错误,

方法一:(单个)

开始我一个一个解决,把https换成了git

例子如下:

git config --global url.“git:///angular/bower-angular-touch.git/”.insteadOf /angular/bower-angular-touch.git/

执行之后继续执行

bower install

但是类似的错误太多了,一个一个替换太麻烦,来个批量的

方法二:(批量)

如下:

git config --global url.“git://”.insteadOf https://

执行之后再次(一次不行多试几次)

bower install

bower install 报错fatal: unable to access ‘/angular/bower-angular-touch.git/‘类错误解决方法

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。