npm install
报错了!看提示是证书到期,究其原因是淘宝镜像的地址换了。
旧:https://registry.npm.taobao.org/
新:https://registry.npmmirror.com/
# 清除缓存
npm cache clean --force
# 验证缓存是否清除干净
npm verify cache
# 更改淘宝镜像
npm config set registry https://registry.npmmirror.com/
# 查看本地配置的镜像地址
npm config get registry
标签:npm,vue,certificate,taobao,registry,https,镜像,org
From: https://www.cnblogs.com/miaowa/p/18036207