【转】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

posted on 2019-07-13 23:36  神奇的旋风  阅读(760)  评论(0编辑  收藏  举报

导航