Command Timeout with Raw Mode Input Stream Failure
Resolved 💬 6 comments Opened May 21, 2025 by acarrillo-civ Closed Jan 7, 2026
Bug Description
You attempted to run a command, but it timed out after 2 minutes with "Error: Command timed out after 2m 0.0s Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default"
Stack trace
● Bash(make <my-target-name>)…
⎿ Error: Command timed out after 2m 0.0s Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported
at handleSetRawMode (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:3662)
at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:259
at x7 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:21373)
at vZ (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:40858)
at XW (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:34912)
at D5 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:148:4822)
at w8 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:32229)
at A.Q.updateContainer (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:154:1835)
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 0.2.125
- Feedback ID: be1cf3f4-531c-422a-adc8-b6d98d2ceb61
Errors
[{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:741:18)\n at Object.readSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:901)\n at lI (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:543:260)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:358)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:728)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:376)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:741:18)\n at Object.readSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:901)\n at lI (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:543:260)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:358)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:728)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:376)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:741:18)\n at Object.readSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:901)\n at lI (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:543:260)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:358)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:728)\n at gG (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:545:376)\n at file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1396\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-05-21T21:15:31.792Z"},{"error":"ShellError: Shell command failed\n at Object.call (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1795:1200)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async kA5 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1954:19735)\n at async fX1 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1954:17565)\n at async jA5 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1954:16889)\n at async Us1 (file:///home/alex/.nvm/versions/node/v22.15.0/lib/node_modules/@ant
Note: Error logs were truncated.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗