[Bug] Bash commands failing with exit code 1 (silent failure)

Resolved 💬 3 comments Opened Dec 15, 2025 by sokrah Closed Dec 19, 2025

Bug Description
## Bug: Bash commands failing with exit code 1 (no output)

### Description
All bash commands fail silently with exit code 1, including basic commands like echo, ls, pwd.

### Environment

  • Claude Code version: [check with claude --version]
  • OS: macOS Darwin 25.1.0
  • Shell: zsh

### Steps to reproduce

  1. Start a Claude Code session
  2. Ask Claude to run any bash command
  3. All commands return "Exit code 1" with no error message

### Expected behavior
Bash commands should execute normally or show a meaningful error message.

### Actual behavior
All bash commands fail silently with exit code 1.

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 2.0.69
  • Feedback ID: e003730c-e60e-485b-ab49-082ceb539b81

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:500)\n    at s6 (/$bunfs/root/claude:11:8378)\n    at readFileSync (/$bunfs/root/claude:12:465)\n    at S9B (/$bunfs/root/claude:4326:20251)\n    at call (/$bunfs/root/claude:914:846)\n    at call (/$bunfs/root/claude:910:6075)\n    at Ei1 (/$bunfs/root/claude:1725:17095)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-15T12:12:02.685Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:500)\n    at s6 (/$bunfs/root/claude:11:8378)\n    at readFileSync (/$bunfs/root/claude:12:465)\n    at S9B (/$bunfs/root/claude:4326:20251)\n    at call (/$bunfs/root/claude:914:846)\n    at call (/$bunfs/root/claude:910:6075)\n    at Ei1 (/$bunfs/root/claude:1725:17095)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-15T12:12:10.626Z"},{"error":"Error: Original and edited file match exactly. Failed to apply edit.\n    at RLT (/$bunfs/root/claude:1428:824)\n    at An1 (/$bunfs/root/claude:1929:6793)\n    at An1 (/$bunfs/root/claude:1929:7382)\n    at J (/$bunfs/root/claude:1929:5701)\n    at J (/$bunfs/root/claude:1929:5997)\n    at <anonymous> (/$bunfs/root/claude:1929:6030)\n    at OS (/$bunfs/root/claude:173:63089)\n    at yv (/$bunfs/root/claude:173:75173)\n    at LN (/$bunfs/root/claude:173:75057)\n    at yv (/$bunfs/root/claude:173:75153)","timestamp":"2025-12-15T13:37:02.434Z"},{"error":"Error: Original and edited file match exactly. Failed to apply edit.\n    at RLT (/$bunfs/root/claude:1428:824)\n    at An1 (/$bunfs/root/claude:1929:6793)\n    at An1 (/$bunfs/root/claude:1929:7382)\n    at J (/$bunfs/root/claude:1929:5701)\n    at J (/$bunfs/root/claude:1929:5997)\n    at <anonymous> (/$bunfs/root/claude:1929:6030)\n    at OS (/$bunfs/root/claude:173:63089)\n    at yv (/$bunfs/root/claude:173:75173)\n    at LN (/$bunfs/root/claude:173:75057)\n    at yv (/$bunfs/root/claude:173:75153)","timestamp":"2025-12-15T13:37:02.440Z"},{"error":"Error: Original and edited file match exactly. Failed to apply edit.\n    at RLT (/$bunfs/root/claude:1428:824)\n    at An1 (/$bunfs/root/claude:1929:6793)\n    at An1 (/$bunfs/root/claude:1929:7382)\n    at J (/$bunfs/root/claude:1929:5701)\n    at J (/$bunfs/root/claude:1929:5997)\n    at <anonymous> (/$bunfs/root/claude:1929:6030)\n    at OS (/$bunfs/root/claude:173:63089)\n    at yv (/$bunfs/root/claude:173:75173)\n    at LN (/$bunfs/root/claude:173:75057)\n    at yv (/$bunfs/root/claude:173:75153)","timestamp":"2025-12-15T13:37:04.527Z"},{"error":"Error: Original and edited file match exactly. Failed to apply edit.\n    at RLT (/$bunfs/root/claude:1428:824)\n    at An1 (/$bunfs/root/claude:1929:6793)\n    at An1 (/$bunfs/root/claude:1929:7382)\n    at J (/$bunfs/root/claude:1929:5701)\n    at J (/$bunfs/root/claude:1929:5997)\n    at <anonymous> (/$bunfs/root/claude:1929:6030)\n    at OS (/$bunfs/root/claude:173:63089)\n    at yv (/$bunfs/root/claude:173:75173)\n    at LN (/$bunfs/root/claude:173:75057)\n    at yv (/$bunfs/root/claude:173:75153)","timestamp":"2025-12-15T13:37:04.528Z"},{"error":"Error: Original and edited file match exactly. Failed to apply edit.\n    at RLT (/$bunfs/root/claude:1428:824)\n    at An1 (/$bunfs/root/claude:1929:6793)\n    at An1 (/$bunfs/root/claude:1929:7382)\n    at J (/$bunfs/root/claude:1929:5701)\n    at J (/$bunfs/root/claude:1929:5997)\n    at <anonymous> (/$bunfs/root/claude:1929:6030)\n    at OS (/$bunfs/root/claude:173:63089)\n    at yv (/$bunfs/root/claude:173:75173)\n    at LN (/$bunfs/root/claude:173:7505

Note: Error logs were truncated.

View original on GitHub ↗

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