Home > Software design >  Bug in Firebase CLI v11.2.0 - error cleaning up build images
Bug in Firebase CLI v11.2.0 - error cleaning up build images

Time:07-06

I just updated the Firebase CLI to the new 11.2.0 version.

When I tried to update a cloud function via firebase deploy --only functions:func1 the following error happens:

Unhandled error cleaning up build images. This could result in a small monthly bill if not corrected. You can attempt to delete these images by redeploying or you can delete them manually at https://console.cloud.google.com/artifacts/docker/project-123/us-central1/gcf-artifacts

And the function is not updated.

In the official releases page, there is this new change:

Cloud Functions deployment now stores container images on Google Cloud Artifact Registry instead of Container Registry

So I think this bug might be related to the new way firebase stores functions. What should I do to deploy cloud functions again?

CodePudding user response:

Yes, firebase bug with Firebase CLI Version 11.2.0. Downgrade is the best option until they solve this.

Run the following command to return to last version:

npm install -g firebase-tools@^10.2.2

CodePudding user response:

SOLVED

Click here or follow the link shown in the terminal to enable the artifact registry API. Now the deployment process works properly.

CodePudding user response:

I enabled it and was still getting the same error, the downgrade was the best option today.

  • Related