ERROR  Failed to get response from https://registry.npmmirror.com/vue-cli-version-marker


Vue CLI v5.0.8
Failed to check for updates
? Target directory F:\yueya\Vue_projects\vue3_test already exists. Pick an action: Overwrite

Removing F:\yueya\Vue_projects\vue3_test...


Vue CLI v5.0.8
Failed to check for updates
? Please pick a preset: Default ([Vue 3] babel, eslint)


Vue CLI v5.0.8
Failed to check for updates
✨  Creating project in F:\yueya\Vue_projects\vue3_test.
⚙️  Installing CLI plugins. This might take a while...

 ERROR  Failed to get response from https://registry.npmmirror.com/binary-mirror-config

Vue生成项目时报错:

解决方法:

1.检查自己的网络,有时侯网络太慢会导致创建项目不成功

2.npm版本太低,可以通过以下解决:

npm install -g npm

 然后创建项目:vue create 项目名

vue create vue3_test

 3.通过chatgpt得到的解决方法:

 

GitHub 加速计划 / vu / vue
85
16
下载
vuejs/vue: 是一个用于构建用户界面的 JavaScript 框架,具有简洁的语法和丰富的组件库,可以用于开发单页面应用程序和多页面应用程序。
最近提交(Master分支:5 个月前 )
9e887079 [skip ci] 3 个月前
73486cb5 * chore: fix link broken Signed-off-by: snoppy <michaleli@foxmail.com> * Update packages/template-compiler/README.md [skip ci] --------- Signed-off-by: snoppy <michaleli@foxmail.com> Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com> 7 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐