npm ERR! request to https://registry.npm.taobao.org/@vue%2fcli failed, reason: certificate has expir
【代码】npm ERR!
·
- 具体错误
npm install -g @vue/cli
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/@vue%2fcli failed, reason: certificate has expired
- 解决办法
npm config set registry https://registry.npmmirror.com
npm config get registry
更多推荐
已为社区贡献1条内容
所有评论(0)