首页 > npm install出错,怎么处理,详细信息请进!

npm install出错,怎么处理,详细信息请进!

npm install 出错,错误信息如下,怎么办?

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v5.0.0
npm ERR! npm  v3.3.6
npm ERR! code ECONNRESET
npm ERR! errno ECONNRESET
npm ERR! syscall read

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 settings.
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源。我也是用的Windows10,这个问题根Windows没关系。


npm install -g cnpm


我感觉是不是win10系统和nodejs4.4版本不一致问题


网络问题, npm官网经常抽风.
建议使用淘宝的npm镜像, 速度快的很.
详见 淘宝npm

【热门文章】
【热门文章】