DEV Community

Gilbert Ngeno
Gilbert Ngeno

Posted on

2

React JS error WebPack 4.44.2 (temp Fix)

The react-scripts package provided by Create React App requires a dependency:

"webpack": "4.44.2"

Don't try to install it manually: your package manager does it automatically.
However, a different version of webpack was detected higher up in the tree:

/home/user1/node_modules/webpack (version: 4.44.1)

  1. create a .env at the root of the folder of react folder
  2. type SKIP_PREFLIGHT_CHECK=true in side .env file
  3. now run in cmd npm start .

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay