dcloudio / uni-preset-vue

uni-app preset for vue
Apache License 2.0
278 stars 110 forks source link

vue-cli工具创建项目不成功 #94

Open chinaxzy opened 5 months ago

chinaxzy commented 5 months ago

Vue CLI v4.5.14 Failed to check for updates ✨ Creating project in E:\workspace\mh\mh-chxc-mobile. 🗃 Initializing git repository... ⚙️ Installing CLI plugins. This might take a while...

ERROR Failed to get response from https://registry.npm.taobao.org/binary-mirror-config npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/@dcloudio%2fvue-cli-plugin-hbuilderx failed, reason: certificate has expired

npm ERR! A complete log of this run can be found in: C:\Users\xuzy\AppData\Local\npm-cache_logs\2024-02-06T02_32_10_007Z-debug-0.log ERROR command failed: npm install --loglevel error --legacy-peer-deps

看情况应该是淘宝镜像的问题

Otto-J commented 4 months ago

嗯,感谢反馈,是 lock 里还有老版本 taobao 网址的缘故

在 issues 关闭之前,你可以临时先 http://registry.npm.taobao.org/ https://registry.npm.taobao.org/ 替换为 https://registry.npmmirror.com/