I've just installed the firebase-tools with the as usual npm package installation process :
npm install -g firebase-tools
i've already created a Firebase account connect with Google Account, but the problem is that the only procedure i can made with the command line tool is :
firebase login // with success
firebase prefs:token // return me the auth token
but every time i try the other commands i get the error :
Error: Authentication required.
for example for the command init, list etc :
firebase init // error
firebase list // error
and so on ... why ?
The version of npm, node and firebase-tools :
node : v4.2.2
npm : 3.3.12
firebase : 2.2.0
Use following command
1) firebase use --add
-> select project .firebaserc file has been created in your source dir
2) firebase deploy
now deploying hosting.
Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With