Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

求大神给看看cnpm install报错是什么网络问题还是别的原因?

$
0
0

具体报错信息如下: [root@ser96 jsmsg-server]# cnpm install Get /binary-mirror-config/latest from https://registry.npm.taobao.org error: ConnectionTimeoutError: Connect timeout for 5000ms, GET https://registry.npmjs.org/binary-mirror-config/latest -1 (connected: false, keepalive socket: false) headers: {} at null._onTimeout (/usr/localdebde_modules/cnpmde_modules/urllibb/urllib.js:687:15) at Timer.listOnTimeout (timers.js:92:15) RequestError: getaddrinfo EAI_AGAIN registry.npm.taobao.org:443 (req “error”), GET https://registry.npm.taobao.org/browser-sync/>%3D2.12.3 <3.0.0 -1 (connected: false, keepalive socket: false) headers: {} Error: getaddrinfo EAI_AGAIN registry.npm.taobao.org:443 at Object.exports._errnoException (util.js:873:11) at errnoException (dns.js:32:15) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:78:26) npminstall version: 2.0.2 npminstall args: /usr/localde/binde /usr/localdebde_modules/cnpmde_modules/.bin/npminstall --china --userconfig=/root/.cnpmrc --disturl=https://npm.taobao.org/mirrors/node --registry=https://registry.npm.taobao.org


Viewing all articles
Browse latest Browse all 14821

Trending Articles