Running into problems building deploying functions. When trying to programmatically deploy the function I get the following output in builder logs (ERRORS).
202
I can confirm the issue came with node update to 15.6.0. Running Manjaro, updated my OS, rolling back to node 12 (with nvm) solved the issue!
I had a similar issue today. It turned out that on one function I was using a timeoutSeconds
that exceeded the max of 540 as specified here.
Had the same error message after spending a day troubleshooting I finally found a way.
I noticed I had node@15
installed on my PC and node@12
for firebase function.
All I need do was to
node@12
on my PCnode@15
) andnode@12
.Boom! it uploaded.
It has nothing to do with permissions. It must be something else. Maybe google sets limits as to how big cloud function should be.
As Prodigy mentioned, something must has broken the Cloud Functions deployment in the latest Node v15.6.0 (or another recent one).
Has the same issue today with firebase deploy
. Resolved by rolling back to Node 12 (and I am sure any other more recent version works great).
I had the same problem deploying cloud functions on my newly started Firebase projects. My local version of node was 15
For beginners (like me) which were struggling downgrading node on Mac, you can use the following commands:
sudo npm install -g n
sudo n 12