Skip to content

Invalid options: child "files" fails because [child "json" fails because ["json" must be an object]] #1921

@SevenOutman

Description

@SevenOutman

Version

3.0.0-rc.5

Reproduction link

http://localhost:8001

Steps to reproduce

  • Install latest vue-cli via npm install -g @vue/cli
  • Check version vue --version, outputs 3.0.0-rc.5
  • Run vue ui

What is expected?

Normal outputs

What is actually happening?

$ vue ui
🚀  Starting GUI...
🌠  Ready on http://localhost:8001
Error: Invalid options: child "files" fails because [child "json" fails because ["json" must be an object]]
    at PluginApi.describeConfig (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/api/PluginApi.js:156:21)
    at module.exports.api (/Users/Doma/Developer/WebstormProjects/vue-locale/node_modules/@vue/cli-plugin-eslint/ui.js:3:7)
    at runPluginApi (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/plugins.js:227:7)
    at plugins.forEach.plugin (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/plugins.js:167:33)
    at Array.forEach (<anonymous>)
    at Timeout.setTimeout [as _onTimeout] (/usr/local/lib/node_modules/@vue/cli/node_modules/@vue/cli-ui/apollo-server/connectors/plugins.js:167:15)
    at ontimeout (timers.js:498:11)
    at tryOnTimeout (timers.js:323:5)
    at Timer.listOnTimeout (timers.js:290:5)

and the same stacktrace message repeats


Looks like something wrong with the plugins system, but Refresh Plugins API doesn't help

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceWe cannot reproduce the problem with the given information. More env information needed.scope: ui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions