Skip to content

MacOs/Homebrew: Cannot find module '../build/Release/keytar.node'  #23192

@rolandash

Description

@rolandash

What happened?

When start gemini-cli from terminal, it failed with an error message:
`Keychain initialization encountered an error: Cannot find module '../build/Release/keytar.node'
Require stack:

  • /opt/homebrew/Cellar/gemini-cli/0.34.0/libexec/lib/node_modules/@google/gemini-cli/node_modules/keytar/lib/keytar.js`

I am on a MacBook M4. Weeks ago I can run gemini-cli 0.30.0 fine. Today I just upgraded my MacOS to Tahoe 26.3, and gemini-cli to 0.34.0 (through brew). Then I tried to launch gemini-cli and it could not start anymore.

What did you expect to happen?

gemini-cli should start up normally.

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here
Gemini-cli 0.34.0 Macbook M4 with MacOS version Tahoe 26.3, run from Terminal.

Login information

through Google account.

No response

Anything else we need to know?

Tried both permissive-open (default) and strict-open profile. The results are same.
No response

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p1Important and should be addressed in the near term.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions