npm报证书过期 certificate has expired问题(已解决)

取消ssl验证:
npm config set strict-ssl false

解决啦!

参考文章:

解决执行npm(或pnpm)时报:证书过期 certificate has expired问题_npm_慢慢雨夜-GitCode 开源社区

你可能感兴趣的:(前端报错合集,npm,前端,node.js)