Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run webpack throwing Option validation error #21

Open
oberoc opened this issue Jun 30, 2018 · 1 comment
Open

npm run webpack throwing Option validation error #21

oberoc opened this issue Jun 30, 2018 · 1 comment

Comments

@oberoc
Copy link

oberoc commented Jun 30, 2018

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.

@TadhgH
Copy link

TadhgH commented Aug 17, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants