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

Segmentation Fault

Open rbashish opened this issue 6 years ago • 4 comments

Hi, I have installed Firebase CLI through npm install -g firebase-tools but when I try to login by executing firebase login, I get Segmentation Fault error.

I don't understand what this is. Is it because of npm version ?

rbashish avatar Jul 26 '20 10:07 rbashish

@rbashish please fill out the issue template when filing an issue, we need all of the information requested in order to begin debugging.

For instance we need to know:

  • What platform are you on?
  • What version of the Firebase CLI are you using?
  • What version of Node are you using?

samtstern avatar Jul 27 '20 08:07 samtstern

Hi @samtstern, here is the information requested:

Platform: Linux [Ubuntu 18.04] Firebase CLI: Segmentation fault Node: 12.18.3

Additionally please refer to the screenshot:

rbashish-firebase

rbashish avatar Jul 29 '20 07:07 rbashish

Hmmm that's very strange. Can you try one of the other install methods here? https://firebase.google.com/docs/cli#install-cli-mac-linux

First uninstall firebase-tools

npm uninstall -g firebase-tools

Then use the other installer:

curl -sL https://firebase.tools | bash

samtstern avatar Jul 31 '20 15:07 samtstern

Hey @samtstern, I got this: The Segmentation fault was coming because my machine had a corrupted firebase-tools binary installed. So did an upgrade.

curl -sL firebase.tools | upgrade=true bash

firebase-upgrade-rbashish

Thnaks to your help!

rbashish avatar Aug 01 '20 16:08 rbashish