I get the following error when I run "cloud-build-local --dryrun=false ." on my local machine:
Firebase Management API has not been used in project 32555940559 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firebase.googleapis.com/overview?project=32555940559 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.
The project number listed is not the number of any of my projects. I Googled this number and it seems like more users get errors with this project number in it. I already checked the following:
Any help on this is appreciated!
cloud-build-local is the command used to build a image locally.
The Cloud Build local environment, as well as all other GCP local environments, are outside of your Google Cloud environment, hence the project-id you are seeing here references the gcloud project number. This means that gcloud will unable to use the login credentials for your respective project and will not automatically authenticate with the Cloud Build service account needed for the Cloud Build gcloud commands.
In this case you would need to utilize gcloud auth application-default login
. This will provide new user credentials for use with Application Default Credentials so as to authorize you to utilize the needed service accounts for local Cloud Build development.