vue-cli安装报错,咋回事啊大佬们

npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npm.taobao.org/vue-cli failed, reason: connect ECONNREFUSED 127.0.0.1:1080
npm ERR!     at ClientRequest.<anonymous> (D:\Node.js\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR!     at ClientRequest.emit (events.js:314:20)
npm ERR!     at onerror (D:\Node.js\node_modules\npm\node_modules\agent-base\index.js:101:9)
npm ERR!     at callbackError (D:\Node.js\node_modules\npm\node_modules\agent-base\index.js:123:5)
npm ERR!     at processTicksAndRejections (internal/process/task_queues.js:97:5)
npm ERR!  FetchError: request to https://registry.npm.taobao.org/vue-cli failed, reason: connect ECONNREFUSED 127.0.0.1:1080
npm ERR!     at ClientRequest.<anonymous> (D:\Node.js\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
npm ERR!     at ClientRequest.emit (events.js:314:20)
npm ERR!     at onerror (D:\Node.js\node_modules\npm\node_modules\agent-base\index.js:101:9)
npm ERR!     at callbackError (D:\Node.js\node_modules\npm\node_modules\agent-base\index.js:123:5)
npm ERR!     at processTicksAndRejections (internal/process/task_queues.js:97:5) {
npm ERR!   type: 'system',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   code: 'ECONNREFUSED'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\DZHooo\AppData\Roaming\npm-cache\_logs\2021-03-29T12_11_36_339Z-debug.log

看样子是你的淘宝镜像挂掉了啊? 你换成原来的npm下载地址试试?或者cnpm?或者就是你单纯的网不好

您好,我是有问必答小助手,你的问题已经有小伙伴为您解答了问题,您看下是否解决了您的问题,可以追评进行沟通哦~

如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~

ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632

检查一下你的网络 或者你的下载源吧 

 

如果还有别的问题 进来我们一起讨论下