项目场景:
vue报错:npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/sass-loader failed, reason: certificate has expired npm ERR! A complete log of this run can be found in: npm ERR! D:\node\node-v1
解决方案:
取消证书
npm cache clean --force 清除npm缓存
npm config set strict-ssl false
npm install