Can you answer few questions so that I can trace your issue:
1- Are you using Docker? If yes, then share your Dockerfile & docker-compose.yml.
2- Are you using nodemon? If yes, Kindly share your package.json [scripts].
3- What is your machine resource configuration?
Thanks.