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

Monday, Mar 11, 2019 | 1 minute read | Updated at Monday, Mar 11, 2019

@

安装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

© 2018 - 2026 vpslala

🌱 Powered by Hugo with theme Dream.