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)
- create a .env at the root of the folder of react folder
- type SKIP_PREFLIGHT_CHECK=true in side .env file
- now run in cmd npm start .
Top comments (0)