There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally.
Hi , I am Alamin ! in my case i solve my problem in these way
Hope this will work for you :)
SOLUTION:
=========
create a .env at the root of the folder of react APP folder
type SKIP_PREFLIGHT_CHECK=true in side .env file
now run in cmd npm start .
[email protected]
3.17
6
/* Answer to: "There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally." */
/*
Go to your "package.json" file.
Replace
*/
"react-scripts": "<whatever-is-currently-here>",
/* with */
"react-scripts": "1.1.4",
/*
Then run npm install and after that npm start
*/
Thank you!
6
0
4
1
// first run in terminal:
yarn add --dev dotenv
// create .env file in root directory
// then add below line in the .env file
SKIP_PREFLIGHT_CHECK=true
Thank you!
1
0
Are there any code examples left?
New code examples in category Javascript