時,這是收到的錯誤:酒館GET拋出一個混帳提取錯誤試圖讓依賴
C:\code\workspace\test_app_polymer>pub get
Resolving dependencies...
Git error. Command: git fetch
fatal: Not a git repository (or any of the parent directories): .git
看來,不管它是在看,在這一點上是不是混帳回購協議。
我用來克隆我的回購的命令是,與修改域名:
git clone -v [email protected]:ng-incubator/test_app_polymer.git .
所以對我來說這個克隆,然後能夠做酒館GET應該工作。現在,下一步將是查看嘗試的依賴關係。
dependencies:
browser: any
url: any
uuid: any
tw_portal:
git:
url: [email protected]:portal_ng/portal_dart.git
ref: master
tw_ui_polymer:
git:
url: [email protected]:portal_ng/ui_polymer
ref: master
如果你可以去看看,它顯示ui_polymer
沒有被定義爲一個git的,所以我跑了一個額外的時間,有: url: [email protected]:ng_portal/ui_polymer.git
,看看是否可行。在失敗之前運行需要更長的時間....所以這意味着至少有更多的計算。
我是否正確執行以下步驟進行調試?我被告知服務器最近更新了,所以有可能它完全是服務器錯誤,甚至不是客戶端。有沒有人有任何猜測我可以做什麼繼續調試?
謝謝。
有'pub cache repair'命令通常會修復緩存問題 –
下次我要記住這一點。應該減少構建時間。 – Fallenreaper