admin avatar

npm 安装出现奇怪的错误解决方法

🕚 by admin





安装hexo时出现以下错误

1
2
3
4
5
npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! errno UNABLE_TO_GET_ISSUER_CERT_LOCALLY
npm ERR! request to https://registry.npmjs.org/hexo-cli failed, reason: unable to get local issuer certificate

npm ERR! A complete log of this run can be found in:

临时解决方法

npm set strict-ssl false





💘 相关文章

写一条评论

Based on Golang + fastHTTP + sdb | go1.18.3 Processed in 1ms