claude-code - 💡(How to fix) Fix [Bug] Intermittent Bash command failures with exit code 1

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

[everything working fine up until this point] ● Now let me run typecheck and tests to make sure everything compiles.

● Bash(npm run typecheck 2>&1) ⎿  Error: Exit code 1

● Bash(npx tsc --noEmit 2>&1 | head -30) ⎿  Error: Exit code 1

● Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?") ⎿  Interrupted · What should Claude do instead?

❯ continue

● Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?") ⎿  Error: Exit code 1 ⎿  Interrupted · What should Claude do instead?

[wait 10 minutes] ❯ try again?

● Bash(npx tsc --noEmit 2>&1) ⎿  (No output)

● Clean typecheck. Let me run tests too.

● Bash(npm test 2>&1) ⎿  > [...]@0.1.0 test

Code Example

[everything working fine up until this point]
Now let me run typecheck and tests to make sure everything compiles.

 Bash(npm run typecheck 2>&1)
  ⎿  Error: Exit code 1

Bash(npx tsc --noEmit 2>&1 | head -30)
  ⎿  Error: Exit code 1

Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?")
  ⎿  Interrupted · What should Claude do instead?

continue

Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?")
  ⎿  Error: Exit code 1
  ⎿  Interrupted · What should Claude do instead?

[wait 10 minutes]
try again?

Bash(npx tsc --noEmit 2>&1)
    (No output)

Clean typecheck. Let me run tests too.

 Bash(npm test 2>&1)
  ⎿  > [...]@0.1.0 test

---

[{"error":"Error: EDQUOT: unknown error, symlink '/home/jason/.claude-client-linea/projects/-home-jason-code-linea/b72e91ee-a6e8-467c-be29-26487438e3d8/subagents/agent-a8008b73dfa372cda.jsonl' -> '/tmp/claude-1000/-home-jason-code-linea/b72e91ee-a6e8-467c-be29-26487438e3d8/tasks/a8008b73dfa372cda.output'\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8793:337)","timestamp":"2026-05-28T21:35:21.909Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Claude is getting "Error: exit code 1" on all Bash commands, intermittently. like all of my claudes will suddenly be unable to use Bash for a few minutes, and then it'll come back online for a while. has been happening a lot today.

Example output:

[everything working fine up until this point]
● Now let me run typecheck and tests to make sure everything compiles.

● Bash(npm run typecheck 2>&1)
  ⎿  Error: Exit code 1

● Bash(npx tsc --noEmit 2>&1 | head -30)
  ⎿  Error: Exit code 1

● Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?")
  ⎿  Interrupted · What should Claude do instead?

❯ continue

● Bash(npx tsc --noEmit 2>&1; echo "EXIT: $?")
  ⎿  Error: Exit code 1
  ⎿  Interrupted · What should Claude do instead?

[wait 10 minutes]
❯ try again?

● Bash(npx tsc --noEmit 2>&1)
  ⎿  (No output)

● Clean typecheck. Let me run tests too.

● Bash(npm test 2>&1)
  ⎿  > [...]@0.1.0 test

Environment Info

  • Platform: linux (arch)
  • Terminal: ghostty
  • Version: 2.1.133
  • Feedback ID: a08a44f9-a923-4fa5-85d9-642b67586f0a

Errors

[{"error":"Error: EDQUOT: unknown error, symlink '/home/jason/.claude-client-linea/projects/-home-jason-code-linea/b72e91ee-a6e8-467c-be29-26487438e3d8/subagents/agent-a8008b73dfa372cda.jsonl' -> '/tmp/claude-1000/-home-jason-code-linea/b72e91ee-a6e8-467c-be29-26487438e3d8/tasks/a8008b73dfa372cda.output'\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8793:337)","timestamp":"2026-05-28T21:35:21.909Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING