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 安装依赖
原创作者:吴小糖
创作时间:2024.2.19