ENOENT: no such file or directory — page 2
A path Claude Code tried to open does not exist at that location.
1,200 issues · 64 open · 1,136 resolved (95%) · first seen Feb 25, 2025
First response · local
What to do now
Most likely: The operating system rejected a file or directory operation.
- Read the first path in the error and verify that it exists and belongs to the expected user.
- Check disk space, permissions, symlinks and whether another process holds the target.
- Reproduce with the smallest affected path before changing project-wide permissions.
These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.
Is this getting better or worse?
This class of problem is converging. 101 new reports in the last 90 days vs 314 in the 90 before — -68%. The open backlog peaked at 151 in 2026-01 and sits at 64 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
757 of these reports name the Claude Code build they were running, spanning 137 releases. Heaviest reporters:
- Claude Code v2.1.19
- Claude Code v2.1.17
- Claude Code v2.1.15
- Claude Code v2.1.25
- Claude Code v2.1.20
- Claude Code v2.1.22
- Claude Code v2.1.14
- Claude Code v2.1.23
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 4 days across 1,136 closures. Of the 1,136 closures with a recorded reason, 20% were closed as completed and 911 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
210 of these issues post a workaround someone says worked. The highest-engagement ones:
- [Bug] VS Code extension: Tool use concurrency error after Jan 23-24 update
- ✅ WORKAROUND FOUND The fix: Install VS Code extension version 2.1.17 while keeping CLI at 2.1.19 Steps: 1. In VS Code, go to Extensions 2. Find "Claude Code for VS Code" 3. Click the dropdown arrow next to Uninstall → "I…
Found in the thread of #20571 · still open - SSH remote connection fails on Windows — hardcoded /usr/bin/ssh path
- I've tried these commands as a workaround but got another error:
Found in the thread of #25659 · resolved - [BUG] VSCode ext - "Fork conversation from here" doesn't do anything
- Yes, very appreciate if you can fix it. I mean you have AI on board :)
Found in the thread of #22016 · resolved - Sub-Agents Not Detected: Missing Agents in CLI List Despite Directory Creation
- See - there are some workarounds in the comments. This issue (4623) was related to a Windows-specific issue, which has been resolved.
Found in the thread of #4623 · resolved - [Feature Request] Add native Nix/NixOS support or maintain npm installation method
- …y @manveru above... It works well for me so far but it is a work-around rather than NixOs support from Anthropic which is still lacking
Found in the thread of #20012 · still open
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 101–200
Ranked by community engagement (reactions weighted over comments). Listing the top 300 of 1,200 matches; the statistics above cover all 1,200.
- Session history not visible when workspace is on a mapped network drive (Windows)
- [Bug] Claude Opus 4.6 reasoning regression: speculation loops instead of systematic debugging
- [Bug] Compaction fails with "Conversation too long" error when context limit reached
- [Bug] MCP/Connector configurations disappeared from Claude Code
- [Bug] Anthropic API Error: Internal Server Error (500)
- Image Paste Functionality Broken in CLI Interface
- API Request Fails with 500 Internal Server Error
- [BUG] Node.js error when `ps` is unavailable
- Desktop rewind fails on conversation-only sessions: not on active chain (chain size 2/N)
- LSP plugins fail on Windows: spawn ENOENT for npm global binaries
- [Bug] OAuth refresh token not auto-refreshing on WSL — requires manual re-login daily
- API Error: 500 {"type":"error","error":{"type":"api_error","...
- [Bug] Chrome Extension Connection Not Detected Despite Active Connection
- [Bug] Subagent outputs include verbose API metadata causing session slowdown
- Keyboard Interaction: Preserve Plan Progress on Escape Key
- You've hit your limit · resets 2pm (America/Chicago)
- [Bug] Anthropic API Error: Out of extra usage quota
- [Bug] Anthropic API Error: Internal Server Error (500) and Overloaded Error (529)
- [Bug] IDE detection fails when running Claude Code in JetBrains Rider terminal
- [BUG] Plugin marketplace paths hardcoded as absolute paths, breaking devcontainer usage
- [Bug] Anthropic API Error: Image Upload Exceeds 5 MB Size Limit despite not uploading any image
- [BUG] Windows: spawnSync bash ENOENT error after recent update - regression from working state
- Self-Update Mechanism Fails, Requiring Manual Global Reinstall
- Claude AI usage limit reached|1753088400
- Invalid JSON Request: Malformed Surrogate Character in API Payload
- CLI Failure: Unexpected Runtime Termination
- Infinite Read Operation Hang in Claude Code CLI During File Processing
- [Bug] IDE Integration Failure: No Available IDEs Detected on macOS
- [BUG] Windows: plugin-shipped MCP servers using bare `npx` fail with `spawn ENOENT` (LSP fix from #17312 missed the MCP spawn path)
- Grep and Glob tools missing from registry on Linux VSCode extension v2.1.117
- [Windows] LSP plugins fail with spawn ENOENT — missing shell:true for .cmd files
- [Bug Report: Degraded code generation quality and reasoning accuracy in recent days]
- Skills not loading: ENOENT error on managed skills directory aborts user skills loading
- [BUG] Excessive config file polling during UI render causes full CPU usage when arrow key is pressed to recall previous prompt
- Usage Quota Not Resetting at Scheduled Time for Max Customer
- Inconsistent @ Shortcut Behavior: Agents Displayed Instead of Files
- Windows Agent Loading Failure in Claude Code CLI
- Network Status Detection Fails Despite Active Internet Connection
- Brave Search MCP Server Installation Error
- [Bug] Anthropic API Error: Internal Server Error (500)
- [Bug] File Read Encoding Corruption Triggers False Positive Usage Policy Block
- [Bug] Anthropic API Error: Overloaded
- [BUG] validation_failed on login + continuous OAuth 403 spam causes screen to go blank (Windows)
- [Bug] Chrome Native Host crashes on Windows with Bun 1.3.5 named pipe initialization
- [Bug] Performance degradation: Claude Code unacceptably slow on max model
- [Bug] Anthropic API Error: 500 Internal Server Error on all prompts
- [Windows] Chrome integration broken - MCP server uses Unix socket paths instead of Named Pipes (regression in v2.1.20+)
- [Bug] CLI hangs unresponsively, requires terminal restart
- [Bug] Claude Code generates repetitive "mass" output instead of intended text
- [Bug] C# LSP plugin hangs during initialization after dotnet tools installation
- [Bug] Pro user /usage command not displaying and missing from web interface
- Windows Terminal: Incorrect Agent Display with @ Symbol Replacement
- Missing Tool Result Block for Tool Use ID
- Claude Code repeats planning steps after the plan approval when running ![shell command] when planning is on and then asking for plan
- Clipboard Input Failure in Claude Code Prompt Interface
- Performance Degradation: Slow Response Compared to Gemini CLI
- Invalid JSON Parsing Error in API Request Body
- Issue Title: "Tool Parameter Validation Failure in Recent API Responses" This issue suggests there's a systematic problem with tool parameter validation in the API. Here's a breakdown: Potential Causes: - Recent API/SDK changes breaking parameter validat
- **[BUG] Cowork locks up after ~5 min — EventEmitter memory leak (MaxListenersExceededWarning) accumulates per session, Electron renderer freezes**
- Orphaned bg-pty-host (spare) busy-loops at 100% CPU for days after its daemon dies
- Re-attaching to existing session ENOENTs after Homebrew Cask upgrade (stale versioned worker path)
- [Bug] Conversation compactor fails to reduce token usage for extended context
- [Bug] Excessive token consumption compared to previous months
- LSP: ENOENT on Windows — spawn cannot find .cmd shim executables
- You've hit your limit · resets 5am (Europe/Istanbul)
- LSP plugins fail on Windows: spawn() cannot resolve npm .cmd shims (ENOENT)
- [BUG] Claude Code process exits with code 1 in VS code repeatedly
- [Bug] Excessive file editing errors during operations
- [Bug] Worktree flag not creating worktree on startup
- [Bug] Claude Code ignores user instructions and reprocesses already-handled files despite explicit guidance
- /chrome command produces no output and doesn't connect to Chrome extension
- [Bug] OAuth token revoked error persists after /login on macOS after credential revocation
- [Bug] Context window limit reached consistently at ~84% of session usage
- [Bug] Anthropic API Error: 500 Internal Server Error with Claude 3 Opus model
- You've hit your limit · resets 2am (Europe/Berlin)
- You've hit your limit · resets 6pm (Asia/Bangkok)
- [BUG] v2.1.19: Unable to consume "Extra Usage" credits despite active balance | Unknown skill: rate-limit-options
- [Bug] Terminal up/down arrow keys navigate history instead of editing current message on macOS
- [BUG] Running session breaks after Homebrew upgrade due to stale binary path
- [BUG] Renaming session via /resume picker fails with ENOENT: open 'n/a'
- spawn pgrep ENOENT crash on macOS
- False Positive Anthropic API Usage Policy Violation Detection
- Windows Terminal: Incorrect Agent Display with @ Symbol Replacement
- GitHub App Installation Blocked: Unexpected ANTHROPIC_API_KEY Secret Conflict
- Title: Node.js fs Error: Stale WebStorm Path Blocking Claude CLI Launch
- Intermittent Conversation Interruption: Claude Unexpectedly Halting Mid-Response
- Vim Mode: Unexpected Behavior with Line Deletion and Yank/Undo Operations
- [BUG] Edit/Write fail with "ENOENT: fchmod" on VM shared-folder drives when the target file already exists
- WorktreeCreate hook fails with EPERM for repos under ~/Documents — hook spawned via 'disclaimer' shim loses the app's TCC Documents grant
- [BUG] Immediate segmentation fault upon starting - claude (Bun runtime) segfaults at startup on Linux 6.17 / glibc 2.39 — all builds since Node→Bun switch
- Three intertwined bugs in the Remote/Worktree feature: MCP push, gh ENOENT, plugin-setup hang
- [Bug] Remote control session disconnects after ~5 minutes idle timeout
- [Bug] CLI hangs indefinitely when using `--json-schema` with `--output-format json`
- [BUG] VSCode extension 2.1.27 ripgrep path resolves to C:\Users\vendor\ instead of extension directory
- [Bug] Screen flickering persists in version 2.1.17
- [Bug] Anthropic API Error: Internal Server Error (500)
- [Bug] Resume operation causes high CPU usage and significant performance degradation
- [Bug] Prompt lost when using @ file path syntax with long inputs
- [Bug] Context window exceeds 120% after compact and clear operations in Messages
- [BUG] Installation error on linux