VueCli创建项目报错Failed to get response from https://registry.npm.taobao.org/vue-cli-version-marker
·
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
更多推荐
所有评论(0)