File Attachment Functionality Broken in Claude Code CLI

Resolved 💬 6 comments Opened Jul 29, 2025 by p-samuel Closed Jul 29, 2025

Bug Description
I cannot attach files anymore. I cannot attach files on the CLI anymore, when is type @, it's expected claude will read and list my files so I can insert in the conversation, but it's not happening.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 1.0.62
  • Feedback ID: 6df7918c-3267-4cf0-9396-1fad30ac6a73

Errors

[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: Cannot open Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\r\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:883:11)\n    at execSync (node:child_process:955:15)\n    at i7 (file:///C:/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n    at Tt (file:///C:/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n    at file:///C:/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1896:7279\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///C:/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1897:1485\n    at async Promise.all (index 12)","timestamp":"2025-07-29T11:25:20.511Z"},{"error":"Error: spawn /c/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T11:25:20.526Z"},{"error":"Error: spawn /c/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T11:25:21.705Z"},{"error":"Error: spawn /c/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T11:25:21.979Z"},{"error":"Error: spawn /c/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T11:28:59.420Z"},{"error":"Error: spawn /c/Users/uscon/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/vendor/ripgrep/x64-win32/rg.exe ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:285:19)\n    at onErrorNT (node:internal/child_process:483:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-07-29T11:28:59.684Z"}]

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗