npm install vue-router@next 安装失败求解决

npm ERR! notarget No compatible version found: vue-router@next

npm ERR! notarget Valid install targets:

npm ERR! notarget 2.7.0, 2.6.0, 2.5.3, 2.5.2, 2.5.1, 2.5.0, 2.4.0, 2.3.1, 2.3.0, 2.2.1, 2.2.0, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 2.0.3, 2.0.2, 2.0.1, 2.0.0, 2.0.0-rc.7, 2.0.0-rc.6, 2.0.0-rc.

5, 2.0.0-rc.4, 2.0.0-rc.3, 2.0.0-rc.2, 2.0.0-rc.1, 2.0.0-beta.4, 2.0.0-beta.3, 2.0.0-beta.2, 2.0.0-beta.1, 0.7.13, 0.7.12, 0.7.11, 0.7.10, 0.7.9, 0.7.8, 0.7.7, 0.7.6, 0.7.5, 0.7.4, 0.7

.3, 0.7.2, 0.7.1, 0.7.0, 0.6.2, 0.6.1, 0.6.0, 0.5.2, 0.5.1, 0.5.0, 0.4.0

npm ERR! notarget

npm ERR! notarget This is most likely not a problem with npm itself.

npm ERR! notarget In most cases you or one of your dependencies are requesting

npm ERR! notarget a package version that doesn't exist.


慕粉1842222023
浏览 5955回答 1
1回答

MR帽子先生

你的命令貌似错了 应该是npm vue-routercnpm vue-router希望对你有帮助,祝你学习愉快。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Vue.js