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

前端 未结 21 1766
野趣味
野趣味 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:54

    After installing

    $ npm install -g firebase-tools

    Note the directory where it istalled What I did was locate the directory where firebase was installed. In my case C:\usr\local then I copied the three firebase files. I also went into the node_modules folder and copied the firebase tools folder. Then I went to my app directory in file manager and pasted the firebase files, then created a new node_modules folder and pasted the firebase-tools folder.

    Now go to your cmd and run

    $ firebase init

    It should work

提交回复
热议问题