npm ERR! request to https://registry.npm.taobao.org/vue-loader failed, reason: certificate has expired
$ npm i npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/vue-loader failed, reason: certificate has expired npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2024-06-07T09_22_11_906Z-debug.log
解决方案:
$ npm config set registry https://registry.npmjs.org/
这样就好了,接下来就是npm i安装依赖,问题解决!