【转】npm 安装express npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm 安装 express 出现
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/express failed, reason: unable to
verify the first certificate
设置下npm config set strict-ssl false 就可以了
这是一个坑。
from :https://blog.csdn.net/zc881124/article/details/78280298
文章乃参考、转载其他博客所得,仅供自己学习作笔记使用!!!