Firebase Cloud functions
Brew Crew Labs
2501

  • There is definitely a delay between calling the function and actual invocation on the free tier. Probably due to the fact that the function goes to “sleep” after x minutes of inactivity.

To get rid of this delay just do “firebase serve” to emulate functions locally

  • I believe the Cloud Functions are using Node 8 — which I have not found that limiting since that is fairly “new” enough for all of my dependencies

To use node 8 add this to your package.json

"engines": {
"node": "8"
},

Hope I helped ;)

Check this guy for awesome firebase tips

Chris Esplin