VueCli创建项目报错Failed to get response from https://registry.npm.taobao.org/vue-cli-version-marker
vue
vuejs/vue: 是一个用于构建用户界面的 JavaScript 框架,具有简洁的语法和丰富的组件库,可以用于开发单页面应用程序和多页面应用程序。
项目地址:https://gitcode.com/gh_mirrors/vu/vue
·
VueCli创建项目报错Failed to get response from https://registry.npm.taobao.org/vue-cli-version-marker。可能是网络问题,我过了1个小时在创建就成功了,不过创建过程下载几个包时的速度很慢,又提示Failed to get response from https://registry.npm.taobao.org/vue-cli-version-marker。好在最后创建成功了。
网上查找了很多方法都没有解决。可能我就是网络问题吧。
- 更换淘宝镜像
- 清除npm缓存
- 重装Vue脚手架
Vue CLI v4.5.13
Failed to check for updates
✨ Creating project in D:\JAVA\JavaProgramming\vue-project\vue2-projest\vuecli4-test5.
🗃 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
added 1324 packages in 3m
🚀 Invoking generators...
📦 Installing additional dependencies...
ERROR Failed to get response from https://registry.npm.taobao.org/binary-mirror-config
added 110 packages in 3m
⚓ Running completion hooks...
📄 Generating README.md...
🎉 Successfully created project vuecli4-test5.
👉 Get started with the following commands:
$ cd vuecli4-test5
$ npm run serve
vuejs/vue: 是一个用于构建用户界面的 JavaScript 框架,具有简洁的语法和丰富的组件库,可以用于开发单页面应用程序和多页面应用程序。
最近提交(Master分支:4 个月前 )
9e887079
[skip ci] 1 年前
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> 1 年前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)