Level 8
Just copy the node_modules directory from the previous release and run npm install to just update possible changed dependencies in your deployment.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I'm using Envoyer for deployment. I'm getting trouble with my node_modules, cause with every deploy the folder will be deleted. I thought about a hook which runs npm install after deploying, but I takes ages to do that and the connection closes while doing that.
How do you handle this guys ?
Please or to participate in this conversation.