Firebase CLI not installing on Github Actions
Error logs
Trying to install firebase on CLI on this repo KRAIL, the Firebase cli was fine up until few days ago, but now repeatedly failing.
Run curl -sL https://firebase.tools/ | upgrade=true bash
curl -sL https://firebase.tools/ | upgrade=true bash
shell: /usr/bin/bash -e ***0***
-- Checking for existing firebase-tools...
-- Checking your machine type...
-- Downloading binary from https://firebase.tools/bin/linux/latest
######################################################################## 100.0%#=#=#
######################################################################## 100.0%
-- Setting permissions on binary... /usr/local/bin/firebase
/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!
Error: Process completed with exit code 1.
Seems like similar to https://github.com/firebase/firebase-tools/issues/4533 and https://github.com/firebase/firebase-tools/issues/8789 and https://github.com/firebase/firebase-tools/issues/8353
[REQUIRED] Environment info
firebase-tools:
Platform: Ubuntu
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
run following command
curl -sL https://firebase.tools/ | upgrade=true bash
[REQUIRED] Expected behavior
[REQUIRED] Actual behavior
Run curl -sL https://firebase.tools/ | upgrade=true bash
curl -sL https://firebase.tools/ | upgrade=true bash
shell: /usr/bin/bash -e ***0***
-- Checking for existing firebase-tools...
-- Checking your machine type...
-- Downloading binary from https://firebase.tools/bin/linux/latest
######################################################################## 100.0%#=#=#
######################################################################## 100.0%
-- Setting permissions on binary... /usr/local/bin/firebase
/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!
Error: Process completed with exit code 1.
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information.
I started experiencing the same issue/error today for some reason.
curl -sL https://firebase.tools | bash
the artifacts are missing on the firebase repo
Same here. Started few hours ago
I sorted it with
curl -sL firebase.tools | sed s/latest/v14.11.0/ | bash'
found this solution on some other issue thread . which basically forces the install of the 14.11.0 version , which has all the artifacts
Looking at the details provided, I think this is a similar issue to https://github.com/firebase/firebase-tools/issues/8886. To workaround this, try pinning to the last version which has these artifacts. As mentioned in comment https://github.com/firebase/firebase-tools/issues/8886#issuecomment-3106579387, you can do this by running
curl -sL https://firebase.tools | sed s/latest/v14.11.0/ | bash
To keep a single line of communication, I'll go ahead and close this as a duplicate. Please refer to issue #8886 for any updates.
I experienced the same issue with the command that was suggested in the Firebase docs:
curl -sL https://firebase.tools | bash
https://firebase.google.com/docs/cli#mac-linux-auto-script
Installing Rosetta and re-running completed the install.