Skip to content
Advertisement

Tag: google-cloud-functions

Firebase function deploy fails with requiring external code

I am trying to re-use existing Express application and basically port it to firebase functions. I have a project structure like this: /src/app/index.js /functions/index.js The whole set up works well when using firebase emulators:start. I can call the functions and everything works properly. However I am unable to deploy the functions as I get this error message: Function failed on

Firebase Functions times out when using puppeteer’s browser.newPage()

I have seen others having relatively minor performance problems with puppeteer running on Firebase Functions. In my case, Firebase times out before I can do anything with puppeteer, even with the memory and timeoutSeconds cranked all the way up. Code: Here’s the resulting Firebase Functions log. It takes a few seconds to run puppeteer.launch(), and then browser.newPage() won’t finish at

Change the field value in Firestore automatically after a certain time [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago. Improve this question I’m working on Javascript and here’s how’s my data looks like. I want the functionality where after every 24 hours,

Advertisement