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
原文地址:https://www.cnblogs.com/xuan52rock/p/11182669.html
时间: 2024-10-07 19:48:03