gogogo
管理员
管理员
  • UID25
  • 粉丝0
  • 关注0
  • 发帖数1384
阅读:1647回复:0

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

楼主#
更多 发布于:2024-01-26 11:20

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




npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/npm failed, reason: certificate has expirednpm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\rw\AppData\Local\npm-cache\_logs\2024-01-23T12_58_39_805Z-debug-0.log

解决方法:
npm config set registry http://registry.npmjs.org/


若还不行,就:
npm cache clean --forcenpm config set strict-ssl false
npm install
游客


返回顶部