React app stuck on "Starting the development server" React app stuck on "Starting the development server" reactjs reactjs

React app stuck on "Starting the development server"


I have something similar happening to me.

I have a react project that I want to convert to Typescript and I started as you noted with the "create-react-app", added all my files and hoped for the best - but got stuck like you on the “Starting the development server” message.

I have an 8GB Ram with Windows 10 and once I used the default "npm start" for the first time I've seen the node process uses a lot of memory - So I tried to give it more and at the same time I tired to change the port react uses.

  1. Added this to the start script in package.json:

    "scripts": { "start": "PORT=3001 react-scripts --max_old_space_size=8128 start", ... }

  2. Closed all my chrome browsers (they take pretty much memory)

  3. And gave it around 1 minute to run

After 1 minute it started working and from that point it just starts quickly and not uses as much memory and not depended on the port I choose

In my case - I guess the first time you run "npm start" on the React Typescript project it probably index the files (or does something similar - I'm not sure and probably need to read about it - I'm new to typescript) which take a lot of memory.

In your case - It might be something similar

Hope it helps :)


Check This Tow points

  1. Run npm install command before you start the server.

Then also it is not running , please try the second command

  1. Remove the node modules and run npm install once again.

If these two points didn't work , Please provide the screenshot for further analysis.


I created my react app by create-react-app too.

I've tried all the method mentioned above. But it didn't work for me.

Then I accidentally found out if you have unused import or any unused statements. You will stuck.

My react version is 17.0.1.