Invalid options: child "files" fails because [child "json" fails because ["json" must be an object]]
See original GitHub issueVersion
3.0.0-rc.5
Reproduction link
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
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Why does my JSON Schema appear to not validate a child ...
This results in your oneOf asserting validation is successfull, because oneOf/0 passes and oneOf/1 fails. To solve this, you need to add "then": ......
Read more >How to Fix The Invalid JSON Error in WordPress (Beginner's ...
This error could appear for a number of reasons. However, the most likely cause of it to occur is incorrect URL settings in...
Read more >SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
JSON.parse() parses a string as JSON. This string has to be valid JSON and will throw this error if incorrect syntax was encountered....
Read more >Understanding JSON Schema
JSON Schema is a powerful tool for validating the structure of JSON data. However, learning to use it by reading its.
Read more >Understanding the "Objects are not valid as a react child" Error ...
age . Since it refers to the whole object in question, it causes the code to break. The error could also happen by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
And… step 1: npm update step 2: npm uninstall -g @vue/cli sted 3: npm install -g @vue/cli
Finaly helped me
@yyx990803 The errors were thrown from
@vue/cli-plugin-eslint@3.0.0-beta.15
,@vue/cli-plugin-pwa@3.0.0-beta.15
and@vue/cli-plugin-e2e-cypress@3.0.0-beta.15
, and are now resolved by manually upgrading them to latest.