FirebaseExtended / FirebaseExtended/codelab-ai-genkit-rag
Getting Error in Genkit Ui: Waiting to connect to Genkit runtime...
- Dominant language
- TypeScript
- Stars
- 44
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
### Description:
When trying to run `npm run dev:genkit` to launch the genkit ui, getting the following error in the UI and none of the prompts, models and flows shows up. Tried the same with `npm run dev` , gives the same error.
### Error:
```
Waiting to connect to Genkit runtime...
Your application must be running in dev mode to access all of the features of the Developer UI, either using genkit start or by setting the environment variable GENKIT_ENV=dev.
Be sure to check the logs for any startup errors.
```
### Versions Used:
- Used the code from main branch as of 15th June 2025.
- Nodejs Version: 22.13.0
- Genkit Version: 1.12.0
Contributor guide
Research direction
Start by reproducing the issue with `npm run dev:genkit` and `npm run dev` using Node.js 22.13.0 and Genkit 1.12.0, then inspect the startup logs for errors. Confirm whether the application is running in development mode and whether the Genkit UI connects; done means the prompts, models, and flows appear without the waiting message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100