npm install 安装过程很多错误,求大神解答
发布于 10 年前 作者 JuneM 25767 次浏览 最后一次编辑是 8 年前 来自 问答

D:\Program Files\nodejs\play\nodeclub>npm install npm ERR! Windows_NT 6.1.7601 npm ERR! argv “D:\Program Files\nodejs\\node.exe” “D:\Program Files\nodejs \node_modules\npm\bin\npm-cli.js” "install" npm ERR! node v0.12.2 npm ERR! npm v2.7.4 npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! syscall connect

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! Please include the following file with any support request: npm ERR! D:\Program Files\nodejs\play\nodeclub\npm-debug.log

9 回复

网络不给力呀

网络很好的。是不是我设置的网站错误了,无法下载??

@leapon 网络很好的。是不是我设置的网站错误了,无法下载??

@JuneM

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.

你的网路似乎连不出去

@leapon 我也是这么觉得。但是我不知道哪里出错了。

你需要使用代理,淘宝镜像

换个镜像源吧,或者用cnpm

@JuneM 解决了么??我碰到了同样的问题。。。现在连grunt都安装不了

当初我安装cheerio时候 写成了cheeio 报的貌似和你一样错误

回到顶部