Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

chris@pbapps's avatar

Envoyer Yarn Prod Timeout

Hey Guys,

Seems like I must be doing something wrong here or lots of people would be having this issue,

I've setup yarn prod to run on one of my envoyer deployment hooks but It's failing due to it's timing out on the compiling scripts stage,

It works fine with yarn dev (That process is much faster) and used to run fine with yarn prod it's just the last few deployments that have failed,

On another note I did run yarn prod on local and that's take over 10 mins (the server timeout) to run too

Any advice please?

0 likes
4 replies
devfrey's avatar

How long does it take to run yarn prod on your server manually (over SSH)?

devfrey's avatar

@CHRIS@PBAPPS - If I remember correctly, Envoyer times out after ten minutes. I'm not sure if there's a workaround, but if there's not, perhaps you'll have to find an alternative way to compile your scripts. Maybe a dedicated build server.

Please or to participate in this conversation.