开发者社区> 问答> 正文

npm install -g cnpm --registry=https://r?400报错

npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cnpm" "--registry=https://registry.npm.taoabo.org"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo

npm ERR! network getaddrinfo ENOTFOUND registry.npm.taoabo.org registry.npm.taoabo.org:443
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 network settings.
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 config'

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\Administrator\npm-debug.log

这是什么问题?真心搞不懂,就想安静的用一个vue的脚手架?

展开
收起
爱吃鱼的程序员 2020-06-08 14:20:46 1335 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    可以看下我第一条博客

    BUILD一下

    应该是网络问题,你开了VPN了么

    2020-06-08 14:21:04
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
基于webpack和npm的前端组件化实践 立即下载
CDN助力企业网站进入HTTPS时代 立即下载
基于FAAS构建NPM同步CDN 立即下载

相关镜像