After migrating my app to the new Firebase console (console.firebase.google.com), I can no longer deploy static assets using the Firebase CLI "firebase deploy". I receive the message "Error: Authentication required."
At first, I had updated to the latest CLI but found I couldn't use it to deploy without updating Firebase in my Angular app; I'm not ready to do this until AngularFire has been updated though. So I downgraded to the older CLI but found I still couldn't deploy.
I've tried uninstalling/reinstalling Firebase CLI, Firebase, NodeJS (v4 & 6), logging in and logging out of Firebase multiple times-- nothing has helped.
I'm currently using:
Sorry you're running into issues. You should be using the
firebase-tools node module. The latest version is 3.0.0. This is required to use projects that have been migrated to the new console.
npm install -g firebase-tools # just to be sure; let's make sure you have a token against the right scopes firebase logout; firebase login