npm run build fails with "Error: custom keyword definition is invalid: data.errors should be boolean"
https://github.com/webpack/webpack/issues/8768
If you use yarn
add below to package.json
"resolutions": {
"ajv": "6.8.1"
}
then run yarn install
if you use npm
npm uninstall ajv
npm install [email protected]