[英]cordova and ionic installation issue on Windows 8.1 64 bit
我有Windows 8.1 64位。 我已經安裝了node.js,但是當我運行此命令時
npm install -g cordova ionic
它給了我這些錯誤。
npm ERR! fetch failed https://registry.npmjs.org/escape-html/-/escape-html-1.0.1
.tgz
npm WARN retry will retry, error on last attempt: Error: connect ETIMEDOUT 185.3
1.17.162:443
npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-1.0.3.tgz
npm WARN retry will retry, error on last attempt: Error: connect ETIMEDOUT 185.3
1.17.162:443
我在Google上搜索了很多,但是找不到解決方案。 有什么解決方案?
謝謝
我有同樣的問題。
解決的辦法是設置代理設置
npm配置設置代理http:// user:password @ url:port
npm config設置https-proxy http:// user:password @ url:port
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.