Vue-cli 3.0 graphical interface cannot be opened

vue-cli 3.0

vue ui

Open the graphical interface, but the interface keeps loading
reporting errors as follows

clipboard.png

Unhandled GraphQL subscription error
Uncaught (in promise) Error: Network error: Cannot use GraphQLSchema "[object Object]" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

I still have this error after I delete and reinstall node_modules, but it doesn"t affect other uses.
looks like there are two versions of graphql installed. But this seems to be a dependency that comes with vue-cli 3.0, and I don"t have it in my package.json.


Hello, landlord ~
check your own node version. The official requirements are as follows:

Node version requires

Vue CLI requires Node.js 8.9 or later (8.11.0 + recommended). You can use nvm or nvm-windows to manage multiple Node versions on the same computer.

in addition, if it is satisfied, what is the version of vue-cli ? If yarn is installed on this machine, you can try yarn add @ vue/cli global

. < hr >

if it is helpful, please click to adopt it, thank you ~

Menu