Skip to content

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

@Fremen1990

Description

@Fremen1990

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).

**

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions