I am experiencing issues with downloading the Firebase CLI tool. The download process is failing, preventing me from using the Firebase CLI.
Details:
This is occurring both locally and in the Azure pipeline
locally curl -sL firebase.tools | upgrade=true bash
-- Checking for existing firebase-tools on PATH...
-- Your machine has firebase-tools@13.8.2, attempting upgrade...
-- Checking your machine type...
-- Downloading binary from https://firebase.tools/bin/macos/latest
######################################################################## 100.0%#=#=#
-- Setting permissions on binary...
/usr/local/bin/firebase: line 1: Not: command not found
Something went wrong, firebase has not been installed.
Please file a bug with your system information on Github.
https://github.com/firebase/firebase-tools/
-- All done!
from azure pipeline curl -sL firebase.tools | bash
Downloading Firebase Tools ...
-- Checking for existing firebase-tools on PATH...
-- Checking your machine type...
-- Downloading binary from https://firebase.tools/bin/macos/latest
######################################################################## 100.0%
#=#=#
######################################################################## 100.0%
-- Setting permissions on binary...
/usr/local/bin/firebase: line 1: Not: command not found
Something went wrong, firebase has not been installed.
Please file a bug with your system information on Github.
https://github.com/firebase/firebase-tools/
-- All done!
Additional Information:
Expected Behavior: The Firebase CLI tool should download and install successfully, allowing us to use Firebase commands both locally and in our CI/CD pipeline.
Actual Behavior: The download fails consistently, both on local machines and in the Azure pipeline. We're unable to install or use the Firebase CLI tool in either environment.
Hi @francescosaf,
Welcome to Google Cloud Community!
The error you encountered may indicate that the downloaded binary was corrupted or not installed correctly. There's a GitHub issue filed around September 12th, 2024, which led to the confirmation that there was a bug. This was resolved just a few days ago. Please try the installation again to see if the issue has been resolved.
If you continue to experience problems, consider the following alternatives:
curl -sL https://firebase.tools | sed s/latest/v13.16.0/ | bash
firebase
command. I hope the above information is helpful.