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

Failed to compile. Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. #4

Open
Fremen1990 opened this issue Feb 4, 2022 · 0 comments

Comments

@Fremen1990
Copy link

Hi!

I'm trying to run the Chess Game application, it was working couple months ago and now, no changes but i cannot compile.

Do you know what is changed and how to solve it?

**
Failed to compile.

Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.

  • configuration.cache.cacheDirectory: The provided value "G:\PROGRAMMING\COOL PROJECTS\React Chess Game\!!! FRESH\react-chess\node_modules\.cache" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.
    -> Base directory for the cache (defaults to node_modules/.cache/webpack).
  • configuration.module.rules[1].oneOf[3].include: The provided value "G:\PROGRAMMING\COOL PROJECTS\React Chess Game\!!! FRESH\react-chess\src" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.
  • configuration.output.path: The provided value "G:\PROGRAMMING\COOL PROJECTS\React Chess Game\!!! FRESH\react-chess\build" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.
    -> The output directory as absolute path (required).

**

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

1 participant