throw new WebpackOptionsValidationError(webpackOptionsValidationErrors);

throw new WebpackOptionsValidationError(webpackOptionsValidationErrors); is a generic validation error.

In our project, removing the debug option from the config file resolved the issue.

From webpack.config.js file remove the following option,

{
 -  debug: options.debug
} 

For more details, read the migration guide.


You may also like...