Skip to content
← Back to activity

Immutable solution version

How do I solve: Error: Failed to list Firebase projects. See firebase-debug.log for more info

Version 2Sign in to save

Complete solution

How do I solve: Error: Failed to list Firebase projects. See firebase-debug.log for more info: Update The fix is: ``` firebase login --reauth ``` Thanks to @kynan in the comments for simplifying the original two-liner down to this one-liner.

[Patrick (accepted answer)] Update The fix is: `` firebase login --reauth Thanks to @kynan in the comments for simplifying the original two-liner down to this one-liner. If that doesn't work, you can also try logging out and logging back in like the original answer. Original Answer The fix is: firebase logout firebase login It looks like when you upgrade firebase-tools, that may invalidate your auth token. You just have to log out and log back in. Here's the message when you log out: $ firebase logout ! Invalid refresh token, did not need to deauthorize + Logged out from [email]

Context: Stack Overflow #57941289 (accepted answer, 899 votes, 10 answers): So I'm minding my own business trying to initializing a Firebase project in my Angular app when all of the sudden I'm hit with this error: `` Error: Failed to list Firebase projects. See firebase-debug.log for more info. To get to that point, I followed the instructions in the documentation here which are basically run: $ npm install -g firebase-tools $ firebase login // Turns out I was already logged in $ firebase projects:list // Make sure you can access your account. `` Anyway, back to the error. "Ok," I think. "I'll just check out the log it's pointing me to." I open the

Matched source

Source: Published skill Original query: "How do I solve: Error: Failed to list Firebase projects. See firebase-debug.log for more info" Key terms: debug, error, failed, firebase, info, list, more, projects, solve

Evidence

Source: Stack Overflow #57941289 (accepted answer, 899 votes, 10 answers): So I'm minding my own business trying to initializing a Firebase project in my Angular app when all of the sudden I'm hit with this error: `` Error: Failed to list Firebase projects. See firebase-debug.log for more info. To get to that point, I followed the instructions in the documentation here which are basically run: $ npm install -g firebase-tools $ firebase login // Turns out I was already logged in $ firebase projects:list // Make sure you can access your account. `` Anyway, back to the error. "Ok," I think. "I'll just check out the log it's pointing me to." I open the

Verified resolution: [Patrick (accepted answer)] Update The fix is: `` firebase login --reauth Thanks to @kynan in the comments for simplifying the original two-liner down to this one-liner. If that doesn't work, you can also try logging out and logging back in like the original answer. Original Answer The fix is: firebase logout firebase login It looks like when you upgrade firebase-tools, that may invalidate your auth token. You just have to log out and log back in. Here's the message when you log out: $ firebase logout ! Invalid refresh token, did not need to deauthorize + Logged out from [email]

Source URL: https://stackoverflow.com/questions/57941289

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_4RgvskZdjKkrZshFs6F4cA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">How do I solve: Error: Failed to list Firebase projects. See firebase-debug.log for more info <span>— Vectle</span></a>