File Path Handling Failure: Multiple Absolute Paths Cause Processing Hang

Resolved 💬 3 comments Opened Apr 25, 2025 by prinf Closed Nov 29, 2025

Bug Description
When I give it absolute paths to a few files in one message (the files are out of claude working directory) it will not read them but hang on processing the message. Restart is needed to continue working on the project. If I mention only one file per message then it works well

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 0.2.84
  • Feedback ID: 6f5b2fcf-83c8-4841-ade1-b7138d44daf9

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readSync (node:fs:744:3)\n    at Object.readSync (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:488:903)\n    at _F (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:491:260)\n    at jF (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:493:321)\n    at file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1198:1072\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-04-25T19:54:49.137Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Object.readSync (node:fs:744:3)\n    at tryReadSync (node:fs:444:20)\n    at Module.readFileSync (node:fs:490:19)\n    at Object.readFileSync (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:488:730)\n    at jF (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:493:339)\n    at file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:1198:1072\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-04-25T19:54:49.137Z"},{"error":"SyntaxError: Unexpected token I in JSON at position 0\n    at JSON.parse (<anonymous>)\n    at WZ (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:585:9948)\n    at Is4 (file:///something/.nvm/versions/node/v18.20.5/lib/node_modules/@anthropic-ai/claude-code/cli.js:714:672)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-04-25T20:06:55.558Z"}]

View original on GitHub ↗

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