vuejs / ui

💻 UI components for official Vue organization apps
https://vuejs.github.io/ui/
1.33k stars 95 forks source link

Install of vue-router and vuex throws error #6

Closed bluepuma77 closed 6 years ago

bluepuma77 commented 6 years ago

Brand new to vue, tried to follow this Medium article Vue UI: A First Look

Using OS X 10.11.6, node 8.11.3, vue 3.0.0-rc.4

When trying to "Add vue-router" or "Add vuex", the vue ui stays with a spinner.

On the console I see an error output:

$ vue ui
🚀  Starting GUI...
🌠  Ready on http://localhost:8000
TypeError: this.cwd is not a function
    at PluginApi.getCwd (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/api/PluginApi.js:418:17)
    at install (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/ui-defaults/suggestions.js:77:23)
    at Object.handler (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/ui-defaults/suggestions.js:19:19)
    at Object.activate (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/suggestions.js:82:31)
    at suggestionActivate (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/schema/suggestion.js:55:67)
    at resolveFieldValueOrError (/usr/local/lib/node_modules/@vue/cli/node_modules/graphql/execution/execute.js:531:18)
    at resolveField (/usr/local/lib/node_modules/@vue/cli/node_modules/graphql/execution/execute.js:495:16)
    at /usr/local/lib/node_modules/@vue/cli/node_modules/graphql/execution/execute.js:339:18
    at /usr/local/lib/node_modules/@vue/cli/node_modules/graphql/jsutils/promiseReduce.js:25:10
    at Array.reduce (<anonymous>)
bluepuma77 commented 6 years ago

Maybe I should mention that @vue/cli-plugin-unit-jest and vue-cli-plugin-apollo installed without a problem.

Akryum commented 6 years ago

Hi, you are in the wrong repository. This is the right one: https://github.com/vuejs/vue-cli