Skip to content

Why is it taking so long to start my app? #2536 #10721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kambleaa007 opened this issue Mar 21, 2021 · 1 comment
Open

Why is it taking so long to start my app? #2536 #10721

kambleaa007 opened this issue Mar 21, 2021 · 1 comment

Comments

@kambleaa007
Copy link

kambleaa007 commented Mar 21, 2021

Describe the bug

npm start takes at least 4-6 minutes just to startup
image

screen freezes at

Did you try recovering your dependencies?

(Write your answer here.)

Which terms did you search for in User Guide?

(Write your answer here if relevant.)

Environment

(paste the output of the command here.)

Steps to reproduce

(Write your steps here:)

  1. npm start

Expected behavior

Expected waiting time is 30 secs

Actual behavior

takes more than 3 mins

Reproducible demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@bogdan-calapod
Copy link

I've also had this issue. From what I've seen in #9886 and other issues, the main solution provided by people is disabling the ESLint plugin by adding DISABLE_ESLINT=true in the .env file.

I haven't seen much improvement with this - what has really worked for me was adding craco with esbuild. You can find instructions on how to do that here. It has dropped my build time from ~10 minutes to just 1-2 minutes, and dev server startup has decreased from 10+ minutes to ~3-4 minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants