角度cli错误:ubuntu 14中ENOTFOUND npme.walmart.com npme.walmart.com:443

时间:2018-07-30 10:34:01

标签: angular

我具有安装节点版本:v8.11.3 我的npm版本是5.6.0

执行时:npm install -g angular-cli

我遇到以下错误:

silly fetchPackageMetaData error for angular-cli@latest request to 
https://registry.npmjs.org/angular-cli failed, reason: getaddrinfo 
ENOTFOUND npme.walmart.com npme.walmart.com:443
8 verbose type system
9 verbose stack FetchError: request to 
https://registry.npmjs.org/angular-cli failed, reason: getaddrinfo 
ENOTFOUND npme.walmart.com npme.walmart.com:443
9 verbose stack     at ClientRequest.req.on.err 
(/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make- 
fetch-happen/node_modules/node-fetch-npm/src/index.js:68:14)
9 verbose stack     at emitOne (events.js:116:13)
9 verbose stack     at ClientRequest.emit (events.js:211:7)
9 verbose stack     at onerror 
(/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make- 
fetch-happen/node_modules/https-proxy-agent/node_modules/agent-base/index.js:106:9)
9 verbose stack     at callbackError 
(/usr/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/https-proxy-agent/node_modules/agent-base/index.js:126:5)

0 个答案:

没有答案