执行npm install 报错:
npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://registry.npm.taobao.org/@vue%2fcli failed, reason: self signed certificate in certificate chain
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\gw00237103\AppData\Local\npm-cache_logs\2022-03-22T02_56_32_335Z-debug.log
问题产生原因:
ssl证书认证失败,关闭证书即可。
解决办法:
npm config set strict-ssl false