7

React JS error WebPack 4.44.2 (temp Fix)

 2 years ago
source link: https://dev.to/gilly7/react-js-error-webpack-4442-temp-fix-2408
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Gilbert Ngeno

Posted on Nov 10

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 .

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK