firebase-tools “-bash: firebase: command not found”

前端 未结 21 1810
野趣味
野趣味 2020-11-29 01:15

Excited that Firebase\'s hosting is now out of beta. Trying to get going with with the firebase-tools package and I\'ve successfully installed it:

npm instal         


        
21条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 01:36

    After trying pretty much everything, only one worked for me (I'm on MacOs Catalina):

    Try the following in your terminal:

    curl -sL https://firebase.tools | bash
    This will check the OS of your machine and then install everything else automatically and properly.
    
    The command is from the official Firebase Documentation.
    

    https://stackoverflow.com/a/60474459/1245341

提交回复
热议问题