[Bug] Bash tool invocations display non-fatal exit codes as red errors

Resolved 💬 3 comments Opened Jan 30, 2026 by ilyagr Closed Jan 30, 2026

Bug Description
Every bash tool invocation shows the result in red with messages like "Error: Exit code 1
zsh:1: operation not permitted: /tmp/claude-501/cwd-c9c8". There's still useable output that comes after.

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.25
  • Feedback ID: be60f6d7-3384-4fe2-a570-f2f4688c6c00

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4670)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T02:51:03.284Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/ilyagr/.claude/skills'\n    at readdirSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:2063)\n    at iW (/$bunfs/root/claude:11:35715)\n    at readdirSync (/$bunfs/root/claude:12:2024)\n    at wQR (/$bunfs/root/claude:1783:380)\n    at wQR (/$bunfs/root/claude:1783:1350)\n    at <anonymous> (/$bunfs/root/claude:1783:4713)\n    at <anonymous> (/$bunfs/root/claude:1783:5401)\n    at A (/$bunfs/root/claude:11:7259)\n    at Ay8 (/$bunfs/root/claude:4793:4342)","timestamp":"2026-01-30T02:51:03.285Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:935:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:3000:209)","timestamp":"2026-01-30T02:51:04.376Z"},{"error":"Error\n    at sy (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:47:10093)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T02:52:36.142Z"},{"error":"Error\n    at sy (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:47:10093)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T02:52:43.718Z"},{"error":"Error\n    at sy (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:47:10093)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T03:00:39.924Z"},{"error":"Error\n    at sy (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:47:10093)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T03:01:25.356Z"},{"error":"Error\n    at sy (/$bunfs/root/claude:42:1144)\n    at <anonymous> (/$bunfs/root/claude:47:10093)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:49:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-30T03:01:28.895Z"}]

View original on GitHub ↗

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