npm install 时报错 'self signed certificate in certificate chain'
最近在使用npm全局安装vue-cli时报错:self signed certificate in certificate chain。最终解决办法是运行命令:npm set strict-ssl false(取消npm的https认证),原因是npm install默认走的是https协议,需要通过数字证书来保证的 。备注:SSL(Secure Sockets Layer安全套接层...
原创
2019-05-17 19:04:42 ·
19727 阅读 ·
3 评论