You need to login in to firebase CLI, if you already logged in and getting an error then you need to re-login by following commands.
$ firebase login --reauth
It looks like when you upgrade firebase-tools, that may invalidate your auth token. You just have to log out and log back in.
$ firebase logout
$ firebase login