首页 新闻 会员 周边

请问在安装grunt的cli的时候出现问题

0
悬赏园豆:20 [待解决问题]

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 confi
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Fil
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-cli"
npm ERR! node v0.12.6
npm ERR! npm v2.11.2
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 netw
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 confi
npm ERR! fetch failed https://registry.npmjs.org/findup-sync/-/findup-
.tgz
npm WARN retry will retry, error on last attempt: Error: socket hang u

hduhdc的主页 hduhdc | 初学一级 | 园豆:106
提问于:2016-04-14 20:47
< >
分享
所有回答(2)
0

很明显网络问题啊...你试试修改下npm的代理。可以百度下,怎么配置。

xingoo | 园豆:711 (小虾三级) | 2016-04-15 13:53

应该是网络设置,今天重新安装,可以了。

后来我安装的gulp,大神有木有推荐的网址进行学习gulp的基本操作,我在网上看到的只是一些基础的

支持(0) 反对(0) hduhdc | 园豆:106 (初学一级) | 2016-04-15 14:32

@hduhdc: 

这个没用过啊......

支持(0) 反对(0) xingoo | 园豆:711 (小虾三级) | 2016-04-15 17:59
0

重启电脑重新链接网络就好

hduhdc | 园豆:106 (初学一级) | 2016-04-17 19:00
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册