跳到主要内容
CNode

npm install 安装过程很多错误,求大神解答

问答
JJuneM发布于 11 年前最后回复 11 年前
9264050

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)

S
songqinghehe#911 年前

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

A
APPLLEJN#811 年前
引用 JuneM@leapon 我也是这么觉得。但是我不知道哪里出错了。

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

C
crystaldust#711 年前

换个镜像源吧,或者用cnpm

B
bulsoul#611 年前

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

J
JuneM#511 年前
引用 leapon@JuneM 你的网路似乎连不出去

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

L
leapon#411 年前
引用 JuneM@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.

你的网路似乎连不出去

J
JuneM#311 年前
引用 leapon网络不给力呀

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

J
JuneM#211 年前

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

L
leapon#111 年前

网络不给力呀

参与回复

登录后即可参与回复。登录