Android:Development server error code 500

Everytime I try to run the app after some peiod of time I get the error message saying the development server response timedout error code 500. What is the reason behind this and how can I fix this problem permanenltly. I have been trying to solve this for a week now.

Hey @pranishparaj986, can you run expo diagnostics and share what the console says? Also, does this occur with a brand new project or only a certain project?

Cheers,
Adam

Sorry for the late reply I have tried expo diagnostics but it shows no errors. And this problem doesn’t happen at first when running a brand new project but comes on the way after some time of writing codes.