转npm 安装express npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
Posted xuan52rock
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了转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
以上是关于转npm 安装express npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE的主要内容,如果未能解决你的问题,请参考以下文章