firebase-tools icon indicating copy to clipboard operation
firebase-tools copied to clipboard

Firebase CLI not installing on Github Actions

Open ksharma-xyz opened this issue 1 year ago • 7 comments

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.

ksharma-xyz avatar Jul 23 '25 11:07 ksharma-xyz

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.

google-oss-bot avatar Jul 23 '25 11:07 google-oss-bot

I started experiencing the same issue/error today for some reason. curl -sL https://firebase.tools | bash

il421 avatar Jul 23 '25 11:07 il421

the artifacts are missing on the firebase repo

smlima avatar Jul 23 '25 11:07 smlima

Same here. Started few hours ago

xleon avatar Jul 23 '25 11:07 xleon

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

smlima avatar Jul 23 '25 12:07 smlima

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.

aalej avatar Jul 23 '25 12:07 aalej

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.

chrismercredi avatar Nov 01 '25 23:11 chrismercredi