Claude Code 2.1.27 Freezing and CPU Issues. Heres What We Know So Far
If youve updated Claude Code to version 2.1.27 and noticed things getting weird, youre not alone. Theres been a wave of reports on Reddit about this version freezing up, spiking to 100% CPU, and slowly eating through memory until everything grinds to a halt.
The quick fix that's working for most people is rolling back to version 2.1.25. Some folks are even going back to 2.1.17 if they want something thats been rock solid for a while.
This seems to get worse the longer your session runs, but it can also happen during heavy thinking tasks regardless of session length. Windows users are seeing some connection to the Windows MCP server. And if youre on Node.js 22 or higher, that might be part of the problem too. Downgrading to Node 20 has helped some people.
Also worth throwing this in your settings.json if you have not already to stop auto updates from surprising you.
Set DISABLE_AUTOUPDATER to 1.
Anyone else running into this? What version are you on and hows it been treating you?
Comments
Sign in to join the discussion.
How to Downgrade Claude Code on Mac
If you're hitting the freezing issue on
2.1.27, you can roll back to a stable version with these steps:Download and install the desired version:
Symlink the installed version:
Verify the symlink:
Kill any running Claude processes:
Open your settings file:
Add this env block at the top:
Check the version:
Confirm auto updates are disabled:
You should see:
That's it! You're locked in until Anthropic pushes a fix.
Just wanted to drop some extra info on this. Theres a GitHub issue that digs into the actual error causing this. https://github.com/anthropics/claude-code/issues/22116
Looks like the culprit is this error that shows up in the debug logs right at startup. Failed to check enabledPlatforms TypeError undefined is not an object evaluating aZ.join. It happens before MCP even initializes.
The interesting part is this error actually appears in both 2.1.27 and 2.1.23.
But in 2.1.23 it gets handled gracefully and everything continues.
In 2.1.27 it seems to cause some kind of blocking loop that spikes CPU and locks everything up.
Theres also a few related issues on GitHub that might be the same root cause.
One about the plugin command causing freezes, another about a .claude-plugin directory in your working directory triggering it, and a general regression report.
For anyone on Mac, 2.1.23 is another version you can roll back to if 2.1.25 isnt doing it for you.
You can symlink it like this:
ln -sf ~/.claude/versions/2.1.23 ~/.local/bin/claudeHopefully Anthropic gets this sorted soon. The debug logs in that GitHub issue are pretty detailed so fingers crossed it helps them find the fix faster.
Oh yeah that totally makes sense because mine freezes right on startup. Downgrading to 2.1.25 now.