npm ERR! request to https://registry.npm.taobao.org/vue-router failed, reason: certificate has expired

npm install 报错了!看提示是证书到期,究其原因是淘宝镜像的地址换了。 旧:https://registry.npm.taobao.org/ 新:https://registry.npmmirror.com/ # 清除缓存 npm cache clean --force # 验证缓存是否清
posted @ 2024-02-27 09:40  小喵要发力  阅读(312)  评论(1编辑  收藏  举报