Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chinaxzy opened this issue Feb 6, 2024 · 1 comment
Open

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

chinaxzy opened this issue Feb 6, 2024 · 1 comment
Assignees

Comments

@chinaxzy
Copy link

chinaxzy commented Feb 6, 2024

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
Copy link
Member

Otto-J commented Feb 21, 2024

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

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

@Otto-J Otto-J self-assigned this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants