Skip to content

Fix setup: replace nonexistent gemini auth login with guided flow#12

Merged
juhgiyo merged 1 commit intomainfrom
claude/fix-gemini-setup-auth
Mar 17, 2026
Merged

Fix setup: replace nonexistent gemini auth login with guided flow#12
juhgiyo merged 1 commit intomainfrom
claude/fix-gemini-setup-auth

Conversation

@juhgiyo
Copy link
Copy Markdown
Contributor

@juhgiyo juhgiyo commented Mar 17, 2026

Summary

  • gemini auth login doesn't exist — it launches the interactive REPL, causing setup to hang forever
  • Now auto-installs gemini via npm if missing
  • Instructs user to open a new terminal and run gemini to complete the login wizard
  • Waits for Enter confirmation before continuing setup

Test plan

  • Run strawpot_gemini setup with gemini installed — verify guided auth instructions are shown
  • Run strawpot_gemini setup without gemini installed — verify auto-install via npm
  • Confirm setup exits cleanly after pressing Enter

🤖 Generated with Claude Code

gemini CLI has no standalone auth command — `gemini auth login` launches
the interactive REPL instead of authenticating, causing setup to hang.

Now setup: (1) checks if gemini exists, auto-installs via npm if missing,
(2) instructs user to open a new terminal and run `gemini` to complete
the login wizard, (3) waits for Enter before continuing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@juhgiyo juhgiyo merged commit ca6433d into main Mar 17, 2026
1 check passed
@juhgiyo juhgiyo deleted the claude/fix-gemini-setup-auth branch March 17, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant