Closed avivdaniel closed 5 months ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hello @avivdaniel. From your screenshot, you are deploying to us-central1
but your project seems to be in one of the Europe regions. Could you set your region to the correct region using setGlobalOptions
? See Change a function's region or regions
Hello @avivdaniel. From your screenshot, you are deploying to
us-central1
but your project seems to be in one of the Europe regions. Could you set your region to the correct region usingsetGlobalOptions
? See Change a function's region or regions
Yes you are right :) that was the issue. Thanks!
Glad you got it working. I feel safe closing this issue. Feel free to comment and I can reopen the issue if you disagree
Description:
Trying to write a Cloud Function to backup Firestore collections into a Google Cloud Storage bucket.
Using a Blaze plan.
firebase tools version - 12.7.0
Referring to the documentation at https://cloud.google.com/firestore/docs/solutions/schedule-export.
index.js file :
package.json file:
Deployment Error: When running firebase deploy --only functions, encountering the following error about timezone :
Error on google cloud console that may be related `Function failed on loading user code. This is likely due to a bug in the user code. Error message: Provided module can't be loaded. Did you list all required modules in the package.json dependencies? Detailed stack trace: Error: Cannot find module 'firebase-admin/auth' Require stack:
Can anyone face the same problem?