claude-code - 💡(How to fix) Fix [BUG] Claude Code crashes every few minutes on macOS 12.7.6 (Monterey) since recent update [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#51858Fetched 2026-04-23 07:43:02
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×1

Error Message

Also seeing "API Error: Rate limit reached" errors on launch intermittently.

Error Messages/Logs

Session exits unexpectedly every few minutes. No error message displayed — Claude Code just crashes/closes.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Claude Code crashes every few minutes during normal use. This started after a recent update a few days ago. Prior to the update, Claude Code was working normally.

Also seeing "API Error: Rate limit reached" errors on launch intermittently.

What Should Happen?

Claude Code should remain stable and not crash during a session.

Error Messages/Logs

Session exits unexpectedly every few minutes. No error message displayed — Claude Code just crashes/closes.

Steps to Reproduce

  1. Install via: npm install -g @anthropic-ai/claude-code
  2. Run: claude in Terminal
  3. Use normally for a few minutes
  4. Claude Code crashes/exits unexpectedly
  5. Repeat — happens consistently every few minutes

Environment

  • Claude Code version: 2.1.81
  • OS: macOS 12.7.6 (Monterey) — Build 21H1320
  • Node version: v24.14.1
  • Install method: npm global (@anthropic-ai/[email protected])
  • Install path: /usr/local/bin/claude

Claude Model

claude-sonnet (default)

Is this a regression?

Yes — worked fine before the update a few days ago.

Last Working Version

Unknown — updated a few days ago and crashes started immediately after.

extent analysis

TL;DR

The issue can likely be mitigated by adjusting the API request rate or waiting for a fix in a future version of Claude Code.

Guidance

  • Investigate the "API Error: Rate limit reached" errors to determine if they are related to the crashing issue, as this could indicate that the API request rate needs to be adjusted.
  • Try reducing the frequency or volume of API requests within Claude Code to see if this prevents the crashes.
  • Consider reaching out to the developers or support team for Claude Code to report the issue and ask about potential fixes or workarounds, especially since this is identified as a regression.
  • Review the installation and environment setup to ensure everything is correctly configured, although the provided steps and environment details seem standard.

Example

No specific code snippet can be provided without more details on the internal workings of Claude Code or the exact nature of the API requests being made.

Notes

The exact cause of the crashing issue is not clear from the provided information, and without access to the codebase or more detailed error logs, it's challenging to provide a definitive fix. The "API Error: Rate limit reached" errors suggest a potential issue with how Claude Code interacts with external APIs, but more investigation is needed.

Recommendation

Apply workaround: Given the information provided, adjusting the API request rate or waiting for a future update that addresses the regression seems like the most viable approach, as there's no clear indication of a simple configuration change or code fix that users can apply themselves.

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