Problems with babel loader in react-create-app
Create a .env
file in your project directory and include SKIP_PREFLIGHT_CHECK=true
in the file.
Getting the same issue but given an hour on it get the solution
When we run npm start
then you got this kind of an error that is version related issues for this issue.
Go to node_modules folder:
Project->node_modules->react-scripts->package.json
check the package.json file
there you got : "babel-loader": "8.0.4"
first remove : babel-loader folder for Project->node_modules->babel-loader
and then run npm i [email protected]
(it is depend on your version you can change it like : npm i [email protected]) after that may be you got webpack issue then follow same thing remvoe webpack from "Project->node_modules->webpack
"
and reinstall npm i [email protected]
4.19.1* webpack's version it may be change..