Quantcast
Channel: Node.js server very slow starting time - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Answer by shmuels for Node.js server very slow starting time

Using docker and having a volume mounted for node_modules caused the server restart to be very slow.Removing the mounted volume on node_modules sped up the restart by about 60 seconds.See the following...

View Article



Answer by shmuels for Node.js server very slow starting time

The restarting of my server was very slow due to this issue with faker (version: 7.3.0).Using const { faker } = require('@faker-js/faker/locale/en_US'); instead of const { faker } =...

View Article

Answer by Ryan Owens for Node.js server very slow starting time

I ran across this question as I was searching for a solution to my issue with a slow starting node server in development. None of the answers took care of my issue, but for those that are trying to...

View Article

Answer by capitaineballs for Node.js server very slow starting time

Found it... The application was on a remote drive, on a cloud or something I guess (we have access to this drive when connected to our session, no matter the pc). Relocate it on D: solved the issue...

View Article

Answer by Farza M for Node.js server very slow starting time

So, sometimes this process can be very slow depending on your PC. require is actually loading the modules and this could take a while depending on hardware and size of the dependency. For me, express...

View Article


Node.js server very slow starting time

I've build a small angular.js web app hosted on a Node.js server running on my computer.When I start my node server, it takes ~30/35 seconds. The exact same server on a collegue computer takes 2-4s to...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images