Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Function build timeout

Hey Google Cloud community members,

I am experiencing some trouble when attempting to build and deploy functions through firebase CLI, both from local machine and from our github action build runners. My build of ~60 functions will run to completion for, on average, 50-55 functions, and timeout on the last 6-10.  The build logs seem to show that the build freezes somewhere in the npm build stage at an arbitrary point during package installation.  This issue occurs with both v1 and v2 function deployments.

Manually deleting and redeploying these functions will work, but not always the first time.  I am hoping to narrow down the problem area for investigation, and determine if the fix is within our control or not! 

 

Thanks community members for your input

 

10.7.0 - npm | 18.20.3 - node

10.12.2 - firebase | 12.9..1 - firebase-tools

 

 

2 1 580
1 REPLY 1

This would be super helpful to understand. I've seen the same issues!

Top Solution Authors