6
嘗試執行pub更新以安裝web_ui
軟件包時出現以下錯誤。Dart Pub更新失敗
飛鏢編輯器版本: 0.2.10_r16761
飛鏢SDK版本: 0.2.10.1_r16761
的"Help > About > Check for Update..."
也使我"Unable to get latest revision"
。可能是代理問題嗎?
是否有手動添加軟件包的方式,例如:下載這個軟件包並把它放在什麼地方?
Running pub update ...
Pub update failed, [1] Resolving dependencies...
Got socket error trying to find package "web_ui" at http://pub.dartlang.org.
OS Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
, errno = 10060
你後面的HTTP代理服務器? pub不支持代理:http://code.google.com/p/dart/issues/detail?id=5454和http://code.google.com/p/dart/issues/detail?id=5455 – Kyrra
嘗試'ping pub.dartlang.org'來調試您的網絡連接。它說什麼? –
@Kyrra我確實背後是一個代理人,正如Seth在列出的問題中提到的那樣,大多數大型組織都是如此,因此顯然需要更好的解決方案。我想補充一點,變化的環境變量也不是一個好的解決方案,因爲大多數員工沒有管理權限,也無法進行這些更改。 – Geert