webpack broken by ajv@6.9.0, "custom keyword definition is invalid: data.errors should be boolean"
See original GitHub issueBug report
What is the current behavior? A fresh install of webpack will fail to run with the error “custom keyword definition is invalid: data.errors should be boolean” due to the latest version of ajv. See issue here https://github.com/epoberezkin/ajv/issues/941 referencing many other broken projects.
If the current behavior is a bug, please provide the steps to reproduce. Install webpack and attempt to use it.
What is the expected behavior? I expect webpack not to fail due to unreliable, auto-updating dependencies.
Other relevant information: webpack version: 4.28.4 Node.js version: 10.15.1 Operating System: Windows 10 Additional tools:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:163
- Comments:75 (5 by maintainers)
Top Results From Across the Web
Error "custom keyword definition is invalid: data.errors should ...
reactjs - Error "custom keyword definition is invalid: data. errors should be boolean" - Stack Overflow. Stack Overflow for Teams – Start ...
Read more >webpack broken by ajv@6.9.0, "custom keyword definition is ...
报错: webpack broken by ajv@6.9.0, "custom keyword definition is invalid: data.errors should be boolea. CC_Amber 于 2019-02-10 11:48:49 发布 639 收藏.
Read more >ajv-validator/ajv - Gitter
I don't understand what does mean "Error: schema is invalid: data.properties['oneOf'] should be object,boolean". https://runkit.com/embed/vx6bg7i6ehkx.
Read more >User defined keywords - Ajv JSON schema validator
Define keyword with "validate" function The function should return validation result as boolean. It can return an array of validation errors via ....
Read more >Ajv: Another JSON Schema Validator - GitLab
to reduce the mistakes in JSON schemas and unexpected validation results, strict mode is added ... You can define custom keywords with addKeyword...
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
If you use yarn
add below to package.json
then run
yarn install
if you use npm
Or add this to your
package.json
:Then
yarn install
.For npm users: