node.js踩坑
时间:2020-06-13 14:32:53
收藏:0
阅读:60
1.nmp install express -g环境配置报错
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
评论(0)