throw new WebpackOptionsValidationError(webpackOptionsValidationErrors);

throw new WebpackOptionsValidationError(webpackOptionsValidationErrors); is a generic val­i­da­tion error.

In our project, remov­ing the debug option from the con­fig file resolved the issue.

From webpack.config.js file remove the fol­low­ing option,

{
 -  debug: options.debug
} 

For more details, read the migra­tion guide.


You may also like...