gemini-cli - 💡(How to fix) Fix GEMINI

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

This is an unexpected error. Please file a bug report using the /bug tool. │ │ Reason: Error: ENAMETOOLONG: name too long, lstat │ │ Error: ENAMETOOLONG: name too long, lstat │

RAW_BUFFERClick to expand / collapse

What happened?

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

What did you expect to happen?

This is an unexpected error. Please file a bug report using the /bug tool.                                                                                                                               │

│ CRITICAL: Unhandled Promise Rejection! │ │ ========================================= │ │ Reason: Error: ENAMETOOLONG: name too long, lstat │ │ '/Users/temurxonzakhidov/Downloads/web-checkout-bot/hotmail.com:KMPtfLCkoC:M.C558_BL2.0.U.-CoUT2L5HWh0uqaOcDe2QJde2YqUyDWJn55dy9Kxfge3JyJ0XrSdRnvZ0GlorLoHcutOQu14wfjRPZAc9rTXKKgAI8ieVQ3tdKnhahG2mH2 │ │ 0HjRQKJn1CpmOwwjJX7OjbtPPCJHOtKmluGCfPnjibeW6hAKY426QOoSklk9P99HHK1D2HWaGSKAHnsPIvxlsXJw3T1ZO7c3sUBHmxRe9WwyEuLFp9kIVAyHT61WdCt28zT6YAZAXG4rP6GsFt8ADsmlOZCOpcUBQfvsdwliXiV8a8cn68PQv1WwUKPE' │ │ Stack trace: │ │ Error: ENAMETOOLONG: name too long, lstat │ │ '/Users/temurxonzakhidov/Downloads/web-checkout-bot/hotmail.com:KMPtfLCkoC:M.C558_BL2.0.U.-CoUT2L5HWh0uqaOcDe2QJde2YqUyDWJn55dy9Kxfge3JyJ0XrSdRnvZ0GlorLoHcutOQu14wfjRPZAc9rTXKKgAI8ieVQ3tdKnhahG2mH2 │ │ 0HjRQKJn1CpmOwwjJX7OjbtPPCJHOtKmluGCfPnjibeW6hAKY426QOoSklk9P99HHK1D2HWaGSKAHnsPIvxlsXJw3T1ZO7c3sUBHmxRe9WwyEuLFp9kIVAyHT61WdCt28zT6YAZAXG4rP6GsFt8ADsmlOZCOpcUBQfvsdwliXiV8a8cn68PQv1WwUKPE' │ │ at Module.realpathSync (node:fs:2786:29) │ │ at robustRealpath (file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/chunk-UJ26GAE5.js:41919:16) │ │ at resolveToRealPath (file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/chunk-UJ26GAE5.js:41910:10) │ │ at checkPermissions (file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/chunk-4N6JQGX6.js:46050:30) │ │ at file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:33374:37 │ │ at file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:21234:7 │ │ at Object.handleSubmit (file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:18362:9) │ │ at file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:21284:20 │ │ at file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/interactiveCli-YR3FARLA.js:21825:13 │ │ at file:///usr/local/lib/node_modules/@google/gemini-cli/bundle/chunk-4N6JQGX6.js:35315:15

Client information

  • CLI Version: 0.43.0
  • Git Commit: c0775c38b
  • Session ID: 23d748f9-f9fb-496f-a76b-7bd4ad29b3a5
  • Operating System: darwin v22.20.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 404.5 MB
  • Terminal Name: Unknown
  • Terminal Background: #1e1e1e
  • Kitty Keyboard Protocol: Unsupported

Login information

No response

Anything else we need to know?

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING