CERT_HAS_EXPIRED
npm 安装md5报错,提示证书过期:npm ERR! code CERT_HAS_EXPIREDnpm ERR! errno CERT_HAS_EXPIREDnpm ERR! request to https://r.cnpmjs.org/md5 failed, reason: certificate has expirednpm ERR! A complete log of this run
![](https://csdnimg.cn/release/devpress/public/img/ic-book.4f347164.png)
一键AI生成摘要,助你高效阅读
问答
·
npm 安装md5报错,提示证书过期:
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://r.cnpmjs.org/md5 failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in:
npm ERR! D:\Tool\WorkTool\Node\node_cache\_logs\2021-10-20T08_45_38_250Z-debug.log
解决方案:
npm cache clean --force
npm config set strict-ssl false
npm install
更多推荐
所有评论(0)