2016-08-15 22 views
0

我有一個沒有互聯網訪問的構建服務器,我希望能夠執行bower install如何查找和複製窗口上的Bower本地緩存

我試圖複製c:\users\<TheAccountTheBuildServerRunsAs>\AppData\Local\bower到我的構建服務器(這是我與npm緩存(成功完成),但它不停地嘗試訪問互聯網:

bower ECMDERR  Failed to execute "git ls-remote --tags --heads 
https://github.com/stefanpenner/ember-jj-abrams-resolver.git", 
exit code of #128 fatal: unable to access 'https://github.com/stefanpenner/ember-jj-abrams-resolver.git/': 
Received HTTP code 403 from proxy after CONNECT 

Additional error details: 
fatal: unable to access 'https://github.com/stefanpenner/ember-jj-abrams-resolver.git/': Received HTTP code 403 from proxy after CONNECT 

我使用了錯誤的過程

作爲一種變通方法我已經檢查我bower_components源代碼控制,但我真的不想。

回答

1

運行亭子安裝--offline,這迫使只使用緩存。