bower install時出現很多unable to access 'https://github.com/angular/bower-angular-touch.git/'類似的錯誤,
方法一:(單個)
開始我一個一個解決,把https換成了git
例子如下:
git config --global url."git://github.com/angular/bower-angular-touch.git/".insteadOf https://github.com/angular/bower-angular-touch.git/
執行之后繼續執行
bower install
但是類似的錯誤太多了,一個一個替換太麻煩,來個批量的
方法二:(批量)
如下:
git config --global url."git://".insteadOf https://
執行之后再次(一次不行多試幾次)
bower install
終於成功了,我太難了......