**certificate has expired **
request to https://registry.npm.taobao.org/ failed, reason: certificate has expired
解决方式
// 尝试更换镜像源:
npm config set registry https://registry.npmmirror.com
执行 npm config get registry
确认镜像源更换成功,再次尝试npm install
。如果还是报错,检查用户目录下.npmrc
、.yarnrc
、.vuerc
这几个配置文件是否还存在旧的镜像地址,如果有一并替换
Window目录:C:\Users\{user}
标签:npm,错误,certificate,常见,registry,https,镜像,expired
From: https://www.cnblogs.com/BabyBlackSkin/p/18154013