When I cloned the first project I ran
npm install
and it gave me an error
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.
The react-scripts package provided by Create React App requires a dependency:
"babel-loader": "8.0.5"
Don't try to install it manually: your package manager does it automatically.
However, a different version of babel-loader was detected higher up in the tree
I tried several steps to solve the issue:
1)Update react-scripts - didn't help
2)Install babel-loader separately - didn't help
3)Remove package-lock.json, remove react-scripts and install again - didn't help
The solution was just ignoring the issue and creating .env file
with global variable SKIP_PREFLIGHT_CHECK=true
If you need I could create PR for it
P.S. I tried the second project - it has the same issue