在node.js环境中安装依赖有时候是ok的,有时候会报错reason: unable to get local issuer certificate,如果遇到这个问题,先执行下面代码,就ok啦。
npm config set strict-ssl false
参考:
在node.js环境中安装依赖有时候是ok的,有时候会报错reason: unable to get local issuer certificate,如果遇到这个问题,先执行下面代码,就ok啦。
npm config set strict-ssl false
参考: