vue add vue-next 报错无法完成项目升级
来源:2-7 使用组件改造TodoList
慕粉2011416584
2021-03-30
老师从分支 cli-upgrade下载项目后,想进行项目升级,已经执行npm install,脚手架也是4版本 但是执行vue add vue-next命令报错,换了镜像地址淘宝的后还是报错,想问下老师如何解决
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.com/vue-cli-plugin-vue-nex -
Not found
npm ERR! 404
npm ERR! 404 ‘vue-cli-plugin-vue-nex@*’ is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2021-03-30T09_
11_17_929Z-debug.log
2回答
-
viTaemin_nanali
2021-04-20
我也卡这里了,根据老师的回答怀疑是vue默认使用npm安装依赖导致的错误,直接把npm的镜像改成淘宝的就好了。npm config set registry https://registry.npm.taobao.org
00 -
Dell
2021-03-31
使用一下cnpm 的源试试,搜索cnpm,安装之后用cnpm 升级
00
相似问题
回答 2
回答 1