facebook / create-react-app

Set up a modern web app by running one command.
https://create-react-app.dev
MIT License
102.8k stars 26.88k forks source link

After creating a React app with yarn dlx create-react-app, the first time I press yarn start to start it, I get an error. #10625

Open RegistryHJ opened 3 years ago

RegistryHJ commented 3 years ago

Use yarn 2 (yarnpkg/berry)

How do I solve this problem?

ps. yarn dlx create-next-app works fine. only have a problem with the CRA

wdfinch commented 3 years ago

Same issue here.

Workaround for me is to add eslint-config-react-app as a dev dependency.

RegistryHJ commented 3 years ago

oh! it work! Thank you.

wdfinch commented 3 years ago

I would leave this open as you shouldn't need to add an extra dependency to get the app to start. This is still an issue even if a workaround exists.

yegorius commented 2 years ago

Having the same problem on Windows 11. @RegistryDev please reopen this issue as it's not solved yet.

RegistryHJ commented 2 years ago

Having the same problem on Windows 11. @RegistryDev please reopen this issue as it's not solved yet.

okay, I opened this issue again