Update in ajv package broke webpack
source link: https://www.tuicool.com/articles/hit/zMJVviB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Bug 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 epoberezkin/ajv#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:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK