Firebase CLI Deployment Features - Error: Failed to initialize region

I'm having problems with the app firebase deploy --only functionsfor the app in terms of Blaze. I have the latest CLI version for firebase tools (v 3.5.0).

I get the following error:

=== Deploying to 'myapp1234'...

i  deploying functions
i  functions: ensuring necessary APIs are enabled...
i  runtimeconfig: ensuring necessary APIs are enabled...
✔  runtimeconfig: all necessary APIs are enabledfunctions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (1.29 KB) for uploadingfunctions: functions folder uploaded successfully
i  starting release process (may take several minutes)...
i  functions: updating function myFunc...functions[myFunc]: Deploy Error: Failed to initialize a region


Functions deploy had errors. To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.

I repeated this every half hour for the past 12 hours, thinking that there was a failure. The firebase status page shows all green.

+6
source share
1 answer

Ok, here is what I found, a little strange:

firebase list shows all firebase projects that you have access to, but they are not yet available (i.e. added as an alias to your current folder project).

CLI firebase-tools firebase deploy --project myproject1, myproject1, .firebaserc = > , .

, , 2 :

  • firebase use --add ( )
  • firebase use myproject1

= > , firebase deploy --project myproject1 ( --only functions )

+3

Source: https://habr.com/ru/post/1016133/


All Articles