'how do I solve:Error: Failed to list Firebase projects? [closed]
[debug] [2022-05-13T06:39:38.189Z] ----------------------------------------------------------------------
[debug] [2022-05-13T06:39:38.191Z] Command: D:\node\node.exe C:\Users\vae\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js projects:list --debug
[debug] [2022-05-13T06:39:38.192Z] CLI Version: 10.9.2
[debug] [2022-05-13T06:39:38.192Z] Platform: win32
[debug] [2022-05-13T06:39:38.192Z] Node Version: v16.14.2
[debug] [2022-05-13T06:39:38.194Z] Time: Fri May 13 2022 14:39:38 GMT+0800 (香港标准时间)
[debug] [2022-05-13T06:39:38.194Z] ----------------------------------------------------------------------
[debug]
[debug] [2022-05-13T06:39:38.203Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2022-05-13T06:39:38.205Z] > authorizing via signed-in user ([email protected])
[debug] [2022-05-13T06:39:38.213Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects pageSize=1000
[debug] [2022-05-13T06:39:59.288Z] Failed to make request to https://firebase.googleapis.com/v1beta1/projects?pageSize=1000
[debug] [2022-05-13T06:39:59.493Z] FirebaseError: Failed to make request to https://firebase.googleapis.com/v1beta1/projects?pageSize=1000
at RetryOperation._fn (C:\Users\vae\AppData\Roaming\npm\node_modules\firebase-tools\lib\apiv2.js:240:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[error]
[error] Error: Failed to list Firebase projects. See firebase-debug.log for more info.
I tried firebase login --reauth and firebase logout/login, I still get the same error. I've set the VPN to global mode and it still doesn't work what should I do?
and I also want to know why my hosting content is Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys
NOT Hosting: Configure and deploy Firebase Hosting sites
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|