(σ′▽‵)′▽‵)σ 2021-03-29 20:13 采纳率: 0%
浏览 85

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

  • 写回答

3条回答 默认 最新

  • Lazy33 2021-03-30 01:25
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 ansys fluent计算闪退
  • ¥15 有关wireshark抓包的问题
  • ¥15 Ubuntu20.04无法连接GitHub
  • ¥15 需要写计算过程,不要写代码,求解答,数据都在图上
  • ¥15 向数据表用newid方式插入GUID问题
  • ¥15 multisim电路设计
  • ¥20 用keil,写代码解决两个问题,用库函数
  • ¥50 ID中开关量采样信号通道、以及程序流程的设计
  • ¥15 U-Mamba/nnunetv2固定随机数种子
  • ¥30 C++行情软件的tick数据如何高效的合成K线