我使用node.js通過npm安裝了一些沒有任何問題的東西。現在我沒有改變我的設置(Win8的;沒有代理,互聯網工作),我不能安裝任何東西(特別是科爾多瓦和離子)。 它只會拋出像我在代理後面的錯誤,但我不是。無法使用npm ECONNRESET安裝任何代理
和
npm WARN engine [email protected]: wanted: {"node":"~0.10.x"} (current: {"node":"0.12.1","npm":"2.5.1"})
npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.12.1","npm":"2.5.1"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.1","npm":"2.5.1"})
npm ERR! fetch failed https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.9.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/stream-consume/-/stream-consume-0.1.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/through2/-/through2-0.6.3.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/inflight/-/inflight-1.0.4.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/ansi-regex/-/ansi-regex-0.2.1.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/clone/-/clone-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
npm ERR! fetch failed https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
C:\Users\Basti\AppData\Roaming\npm\cordova -> C:\Users\Basti\AppData\Roaming\npm\node_modules\cordova\bin\cordova
npm ERR! fetch failed https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz
npm WARN retry will retry, error on last attempt: Error: read ECONNRESET
C:\Users\Basti\AppData\Roaming\npm\ionic -> C:\Users\Basti\AppData\Roaming\npm\node_modules\ionic\bin\ionic
[email protected] C:\Users\Basti\AppData\Roaming\npm\node_modules\i
[email protected] C:\Users\Basti\AppData\Roaming\npm\node_modules\cordova
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected] ([email protected])
ÔööÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] C:\Users\Basti\AppData\Roaming\npm\node_modules\ionic
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected] ([email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
Ôö£ÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
ÔööÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
任何人都可以幫我嗎?
編輯: 試圖降級到節點0.10下運行cmd以管理員身份,但它仍然不能正常工作:
C:\Users\Basti\Desktop>npm install i -g cordova
npm WARN engine [email protected]: wanted: {"node":">=0.6","npm":"1"} (current: {"node":"0.10.38","npm":"2.7.4"})
npm WARN installMany normalize-package-data was bundled with [email protected], but bundled package wasn't found in unpacked tree
C:\Program Files (x86)\nodejs\cordova -> C:\Program Files (x86)\nodejs\node_modules\cordova\bin\cordova
[email protected] C:\Program Files (x86)\nodejs\node_modules\i
[email protected] C:\Program Files (x86)\nodejs\node_modules\cordova
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected]
Ôö£ÔöÇÔöÇ [email protected] ([email protected])
ÔööÔöÇÔöÇ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
嘗試打開命令行作爲管理員?這是否會產生差異? – 2015-04-01 19:29:16
嘗試與'powershell',它的成功與我 – 2015-05-29 01:41:40
可能重複的[NPM不工作 - 「讀ECONNRESET」](http://stackoverflow.com/questions/18419144/npm-not-working-read-econnreset) – mithunsatheesh 2015-09-01 04:21:21