1、执行npm install后出现以下错误

npm install npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/axios failed, reason: certificate has expired npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\lxcw\AppData\Roaming\npm-cache\_logs\2024-01-31T01_47_54_533Z-debug.log

2、原因

reason: certificate has expired 淘宝镜像 证书已过期

3、解决办法

重新注册证书(成功!)

npm config set registry https://registry.npmmirror.com

好文推荐

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。