Description
Version
4.0.1
Environment info
System:
OS: Windows 7
CPU: (4) x64 Intel(R) Core(TM) i3-7100 CPU @ 3.90GH
Binaries:
Node: 12.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.10.3 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.0.0
@vue/babel-plugin-transform-vue-jsx: 1.0.0
@vue/babel-preset-app: 4.0.0
@vue/babel-preset-jsx: 1.1.1
@vue/babel-sugar-functional-vue: 1.0.0
@vue/babel-sugar-inject-h: 1.0.0
@vue/babel-sugar-v-model: 1.1.1
@vue/babel-sugar-v-on: 1.1.0
@vue/cli-overlay: 4.0.0
@vue/cli-plugin-babel: ^4.0.0 => 4.0.0
@vue/cli-plugin-eslint: ^4.0.0 => 4.0.1
@vue/cli-service: ^4.0.0 => 4.0.0
@vue/cli-shared-utils: 4.0.0
@vue/component-compiler-utils: 3.0.0
@vue/preload-webpack-plugin: 1.1.1
@vue/web-component-wrapper: 1.2.0
eslint-plugin-vue: ^5.0.0 => 5.2.3
vue: ^2.6.10 => 2.6.10
vue-eslint-parser: 5.0.0
vue-hot-reload-api: 2.3.4
vue-loader: 15.7.1
vue-router: ^3.1.3 => 3.1.3
vue-style-loader: 4.1.2
vue-template-compiler: ^2.6.10 => 2.6.10
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
1.Unload and empty Vue
2.Install Vue-cli
3.Create a new project using "vue ui"
4.If you can continue, select the "Vue router" button in the "plugin" menu.
What is expected?
Create and run projects
What is actually happening?
failed
Wrong information:
� Starting GUI...
� Ready on http://localhost:8000
removed 1 package in 31.525s
TypeError: apply is not a function
at C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modules@vue\cli\lib\Gener
ator.js:103:7
at Array.forEach ()
at new Generator (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modules@vu
e\cli\lib\Generator.js:101:13)
at Function.runGenerator (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_mod
ules@vue\cli\lib\invoke.js:123:21)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async install (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modules@vu
e\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:82:5)
at async Object.handler (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modu
les@vue\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:32:13)
at async Object.activate (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_mod
ules@vue\cli\node_modules@vue\cli-ui\apollo-server\connectors\suggestions.js:8
2:14)
Wrong information:
� Starting GUI...
� Ready on http://localhost:8000
ERROR Error: Cannot resolve plugin router from package.json. Did you forget to
install it?
Error: Cannot resolve plugin router from package.json. Did you forget to install
it?
at invoke (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modules@vue\cli\l
ib\invoke.js:58:11)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async install (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modules@vu
e\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:80:5)
at async Object.handler (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_modu
les@vue\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:18:13)
at async Object.activate (C:\Users*\AppData\Roaming\nvm\v12.10.0\node_mod
ules@vue\cli\node_modules@vue\cli-ui\apollo-server\connectors\suggestions.js:8
2:14)