【发布时间】:2015-11-20 15:30:31
【问题描述】:
我有点卡在这里,npm install -g ionic 无法在我的 Windows 7 家用电脑上工作,而且我没有任何代理。我可以下载其他包,如npm install -g gulp 等。
已经尝试按照 stackoverflow 上其他人的建议进行更改 here
npm config set registry http://registry.npmjs.org/
我收到以下错误
npm ERR! network read ECONNRESET
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! Windows_NT 6.1.7600
npm ERR! argv "C:\\node\\\\node.exe" "C:\\node\\node_modules\\npm\\bin\\npm-cli.
js" "install" "ionic"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read
【问题讨论】: