firebase / firebase-tools

The Firebase Command Line Tools
MIT License
4.01k stars 930 forks source link

Fail to install Firebase CLI on macOS #7168

Closed psstevenchan closed 4 months ago

psstevenchan commented 4 months ago

[REQUIRED] Environment info

12.4.0

firebase-tools: This tool has encountered an error. Please file a bug on Github (https://github.com/firebase/firebase-tools/) and include firepit-log.txt

Platform: macOS

[REQUIRED] Test case

Install Firebase tools in macOS

[REQUIRED] Steps to reproduce

  1. sudo curl -o "$INSTALL_DIR/firebase" -L --progress-bar https://github.com/firebase/firebase-tools/releases/download/v12.4.0/firebase-tools-macos
  2. sudo chmod +x "$INSTALL_DIR/firebase"
  3. firebase --version

[REQUIRED] Expected behavior

12.4.0

[REQUIRED] Actual behavior

This tool has encountered an error. Please file a bug on Github (https://github.com/firebase/firebase-tools/) and include firepit-log.txt

firepit-log.txt

psstevenchan commented 4 months ago

Probem resolved by remove the ~/.cache folder and install again