安装hexo时出现以下错误



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

标签: 方法, npm

添加新评论