-
I have been trying different ways of initializing genkit (firebase, cloudrun, node.js) an cannot seem to get past the google authentication. In all cases, I use the sample flow included in the "get started" instructions. I have already setup my Firebase/GCP projects with the required permissions, and have enabled the necessary APIs. I have also successfully authenticated with google and firebase using the following commands:
I am using the same project as both the active gcloud project and target project in "genkit init." Below is the full error message: Error[/{dev-run-action-wrapper}/{menuSuggestionFlow,t:action}/{menuSuggestionFlow,t:flow}, Error] { Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You should only need ’gcloud auth application-default login’. |
Beta Was this translation helpful? Give feedback.
Looking at your console output, I see that the output from
gcloud auth application-default login
looks a little strange... it should look something like this:It's possible that nodejs GoogleAuth library is unable to find
application_default_credentials.json
where it's getting written in your case.