I logged out after getting the error: The caller does not have permission from the command: firebase deploy. Tried to log back in and now getting the error: Error: Failed to authenticate, have you run firebase login?
When I run this command: firebase login --debug
I get the following:
[2023-11-17T03:25:04.577Z] > 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”]
[2023-11-17T03:25:07.590Z] Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.
at GoogleAuth.getApplicationDefaultAsync (/opt/homebrew/lib/node_modules/firebase-tools/node_modules/google-auth-library/build/src/auth/googleauth.js:183:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runNextTicks (node:internal/process/task_queues:64:3)
at listOnTimeout (node:internal/timers:537:9)
at process.processTimers (node:internal/timers:511:7)
at async GoogleAuth.getClient (/opt/homebrew/lib/node_modules/firebase-tools/node_modules/google-auth-library/build/src/auth/googleauth.js:565:17)
at async GoogleAuth.getAccessToken (/opt/homebrew/lib/node_modules/firebase-tools/node_modules/google-auth-library/build/src/auth/googleauth.js:587:24)
at async autoAuth (/opt/homebrew/lib/node_modules/firebase-tools/lib/requireAuth.js:25:19)
at async requireAuth (/opt/homebrew/lib/node_modules/firebase-tools/lib/requireAuth.js:65:20)
at async Command.resolveProjectIdentifiers (/opt/homebrew/lib/node_modules/firebase-tools/lib/command.js:206:13)
Error: Failed to authenticate, have you run firebase login?
Any ideas?
