babel-loader dependency issue
Windows Env:
npm: 8.4.1
node: 17.5.0
Steps to reproduce:
-
npm install -
npm start

I am planning to update the setup to CRA v5 or Vite.js at some point.
Until then, you can try to bypass the error by adding SKIP_PREFLIGHT_CHECK=TRUE to your .env file as suggested in order to make it work.
Hi! @alan2207 I am also having the same issue. I setup the SKIP_PREFLIGHT_CHECK=true in .env file however I am getting types error. How can I resolve this issue?

I wanted to mention that you guys need to use yarn install instead of npm install
@andreycruz16
I agree to what @ThePiyushAggarwal mentioned, you should use yarn instead of npm for this project and I didn't have .env var SKIP_PREFLIGHT_CHECK
My two cents on this, I was also facing the same issue, then I see one of the log messages during this process is exactly this ../../../package.json having no license field. I was like..... wait whattttt ? if I am running yarn start from root dir in this project why app is finding package.json 3 levels above ? then when I looked into my directories, I found I have node_modules, package.json, yarn.lock. I deleted them and performed these steps again.
-
rm -rf node_modules yarn.lock -
yarn install -
yarn start
I could overcome the issue. However, I am still unable to run app successfully, its related to another issues on this project, looking into it.