es6-tutorial icon indicating copy to clipboard operation
es6-tutorial copied to clipboard

npm run webpack throwing Option validation error

Open oberoc opened this issue 7 years ago • 1 comments

Following the tutorial @ http://ccoenraets.github.io/es6-tutorial/setup-webpack/, I'm getting an error when trying to run webpack.

ValidationError: config-loader

Options Validation Error

options.module should match some schema in anyOf options.module['loaders'] is an invalid additional property

Not sure where to start with debugging this.

oberoc avatar Jun 30 '18 11:06 oberoc

@oberoc In webpack config change the word loaders to rules. Fixed it for me.

TadhgH avatar Aug 17 '18 12:08 TadhgH