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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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 ArticleAnswer 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 ArticleNode.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
More Pages to Explore .....