I get an error also!
How you fix the error is: go to https://console.firebase.google.com/project/your_firebase_project/usage/details website and then follow the onscreen instructions.
Then run the command in the Linux home directory on the Linux terminal:
firebase deploy
and it works!