Skip to content

[BUG] E2BIG Error in Bash Tool #3836

@NewtTheWolf

Description

@NewtTheWolf

Bug Description
Claude gets these errors when trying to rm files/folders, but if i execute them it works

● Bash(find /home/newt/Luninora/backend/tests -name "*.test.ts" -type f -exec rm {} \;)
  ⎿  Error: spawn E2BIG

● Bash(rm -rf /home/newt/Luninora/backend/tests/services)
  ⎿  Error: spawn E2BIG

● Bash(rm -rf /home/newt/Luninora/backend/tests/integration)
  ⎿  Error: spawn E2BIG

● Bash(rm -rf /home/newt/Luninora/backend/tests/*)
  ⎿  Error: spawn E2BIG

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 1.0.54
  • Feedback ID: 9f41e0ec-a69d-4a7a-b828-4a11d04fe7a2

Errors

[{"error":"Error: Request was aborted.\n    at c$.makeRequest (file:///home/newt/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1199:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T12:43:25.853Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on Linux

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions