71
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

firebase initでエラーが起こる。

Last updated at Posted at 2019-09-21

firebaseにログインしているのにエラー

$ firebase init
// 色々進めるとエラーが起こる
Error: Failed to list Firebase projects. See firebase-debug.log for more info.

色々調べてみると

firebase-toolsをアップグレードすると、認証トークンが無効になる可能性があります。ログアウトして再度ログインするだけです

これが怪しい。

参考
https://stackoverflow.com/questions/57941289/how-do-i-solve-error-failed-to-list-firebase-projects-see-firebase-debug-log

ログアウトして再度ログイン

$ firebase logout
$ firebase login

これでfirebase initがうまくいきました。

71
15
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
71
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?