I have a Google Cloud / Firebase project, let's call it A, to which I can normally deploy Cloud Functions via the firebase deploy
command.
Recently I've had to set up a parallel project that is supposed to run the same functions, just with a separate database, so I set up a second project, let's call it B, to which I thought I'd be able to deploy Functions in the same way, after setting up all the required services.
In fact, the first time that I deployed the functions to project B, it worked, and those functions are working fine.
Now however I need to deploy a new version of the functions, and deploying to project A still works normally, however deploying to project B via firebase deploy
raises the following error:
=== Deploying to 'B'...
i deploying storage, firestore, functions
There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.
Error: Your project is being set up. Please wait a minute before deploying again.
Google App Engine is set up in the same way on projects A and B. Of course I have waited much longer than one minute, I've been trying for some days as a matter of fact.
I suppose I could rewrite the code to deploy via the gcloud
command, but it feels like unnecessary work since the firebase
command still deploys normally to the original project.
This is probably some misconfiguration on the server side, but everything appears the same to me between the two projects. Does anyone have an idea how to debug this?
Environment:
- Google Cloud SDK 435.0.1
- Node 18.16.0
- firebase-tools 12.4.0
- firebase-admin 11.9.0
- firebase-functions 4.4.1