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

webpack-dev-server実行時にエラー #12

Closed
Alucky4423 opened this issue Jun 14, 2020 · 1 comment · Fixed by #13 or #14
Closed

webpack-dev-server実行時にエラー #12

Alucky4423 opened this issue Jun 14, 2020 · 1 comment · Fixed by #13 or #14
Assignees
Labels
bug Something isn't working

Comments

@Alucky4423
Copy link
Owner

Alucky4423 commented Jun 14, 2020

webpack-dev-server実行時にエラーが発生する。

エラーメッセージ

$ webpack-dev-server --color --progress --config webpack.dev.js
× 「wds」: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.module.rules[0] has an unknown property 'execlude'. These properties are valid:
   object { compiler?, enforce?, exclude?, include?, issuer?, loader?, loaders?, oneOf?, options?, parser?, query?, realResource?, resolve?, resource?, resourceQuery?, rules?, sideEffects?, test?, type?, use? }
   -> A rule
error Command failed with exit code 1.
@Alucky4423 Alucky4423 created this issue from a note in Create JavaScript template (To do) Jun 14, 2020
@Alucky4423 Alucky4423 self-assigned this Jun 14, 2020
@Alucky4423 Alucky4423 added the bug Something isn't working label Jun 14, 2020
@Alucky4423 Alucky4423 added this to the webpackの設定を行う milestone Jun 14, 2020
@Alucky4423
Copy link
Owner Author

原因

webpack.config.jsmodule.rules.excludeプロパティが間違っていた。

-誤:`execlude`
+正:`exclude`

@Alucky4423 Alucky4423 moved this from To do to In progress in Create JavaScript template Jun 14, 2020
This was linked to pull requests Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
1 participant