gemini-cli Hangs After Starting Express Server During Code Execution Verification
Describe the bug gemini-cli gets stuck while running a simple Express server.
Client information
CLI Version 0.1.1
Model gemini-2.5-pro
Sandbox no sandbox
OS win32 (Windows 11)
Login information Logged in on first launch.
Additional context I have a simple index.ts file that contains a basic Express "Hello World" sample. When gemini-cli tries to ensure the code runs without issues, it executes npm start (ts-node src/index.ts). The server starts, and gemini-cli proceeds to the next step—but at this point, it gets stuck. I tried this three times to confirm the issue, and it happened every time.
In the first 10 hours after launch, we got a ridiculous amount of interest (far more than we dreamed) which resulted in us exceeding our internal capacity. If I had to guess, you're one of the unlucky devs who got a server timeout or slow response. We're doing a number of things to make it better including:
- adding more gemini TPU capacity
- intelligently routing requests to different models based on complexity
- providing better fallbacks when there's a slow response
- fixing that weird looping behavior
Sorry, but thanks for riding it out with us. 🙏
version 0.1.4 has a fix for this issue when logging in with Google Account. could you please update to latest and confirm that you are on 0.1.4. That should help resolve this issue for you.
npm install -g @google/gemini-cli@latest gemini --version