一、遇到 npm ERR: request to https://registry.npm.taobao.org failed, reason: certificate has expired 翻译成中文就是:请求 https://registry.npm.taobao.org 失败,原因:证书已过期
原因是淘宝镜像源由原来的https://registry.npm.taobao.org 更换为下面这个:更换
https://registry.npmmirror.com
二、遇到组件安装不成,有依赖某个包且版本对应不上的时候,可以加 “ --force ” 绕过依赖校验,可以安装成功
npm --registry=[https://registry.npmmirror.com](https://registry.npmmirror.com/) install vue-testcase-minder-editor --force
标签:npm,install,问题,taobao,registry,https,org,npmmirror
From: https://www.cnblogs.com/chenxdnote/p/18197463