1
在我的計算機上安裝phonegap時,收到此錯誤消息。我不知道如何解決它。在Windows 8.1上安裝Phonegap時出錯
C:\Users\Scott>npm install -g phonegap
npm ERR! network connect ETIMEDOUT
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settin gs.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "phonegap"
npm ERR! cwd C:\Users\Scott
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! syscall connect
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR!
npm ERR! Additional logging details can be found in: npm ERR! C:\Users\Scott\npm-debug.log
npm ERR! not ok code 0
我試過用更改註冊表,但我無法解決該錯誤。我已經嘗試卸載並重新安裝node.js,但那也不起作用。如果有幫助,我正在家庭網絡上工作。我也嘗試安裝以前版本的phonegap,但沒有成功。我也嘗試安裝科爾多瓦,並沒有奏效。給出同樣的錯誤。
我做了你所說的,現在而不是etimedout,我現在有一個econnrefused錯誤。任何解決方案? – WilliamWallace