[BUG]
Status Open
Reported on v2.1.258
Maintainer reply None cached
Activity 0 comments · opened Sep 3, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
claude stops working and isnt taking any text input
What Should Happen?
it should just work normaly and responde
Error Messages/Logs
Additional data point — Windows, Claude Desktop 1.44121.2.0.
Same symptom: `spawn ENAMETOOLONG` immediately on sending a message. What makes this report different is that the "oversized config" explanation is ruled out by measurement.
I hit this in August 2026 and it *was* config-related then: 168 enabled plugins produced an over-long command line. Reducing `enabledPlugins` to 2 fixed it. The error has now returned on a demonstrably minimal config:
| Item | Measured |
| --- | --- |
| `~/.claude/settings.json` total | 1,159 bytes |
| `enabledPlugins` | 2 entries / 90 chars serialized |
| `hooks` | 588 chars serialized |
| Process environment block | 5,108 chars |
| `PATH` | 4,119 chars |
| Desktop MCP servers | 1 (no args, no env) |
| Installed extensions | 3 |
| Project-level `.claude/settings.json` | none |
| `CLAUDE_*` / `ANTHROPIC_*` env vars | none |
| `LongPathsEnabled` | 1 |
Nothing is within an order of magnitude of the 32,767-character `CreateProcess` command-line / environment-block limit. Whatever argument or path overflows is therefore constructed by the app itself, not inherited from user configuration.
Secondary observation that made this hard to diagnose: `%APPDATA%\Claude\logs` stopped being written on 2026-08-21 while the app continued running daily. There is no local log evidence of the failing spawn at all. If logging is supposed to be active, that looks like a separate bug — and it removes the only user-side path to identifying the offending command.
Environment:
- Claude Desktop 1.44121.2.0 (Appx, `C:\Program Files\WindowsApps\Claude_1.44121.2.0_x64__pzs8sxrjxfjjc`)
- Claude Code 2.1.258 (bundled) / 2.1.259 (npm global)
- Windows x64, Node v24.13.0, npm 11.6.2
Steps to Reproduce
idk
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
full reset
Claude Code Version
latest
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_