Skip to content

[Bug] ENOSPC: No space left on device error during file write operation #20848

Description

@asanobm

Bug Description
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: ENOSPC: no space left on device, write
at appendFileSync (unknown)
at (/$bunfs/root/claude:12:1143)
at AW (/$bunfs/root/claude:11:34882)
at appendFileSync (/$bunfs/root/claude:12:949)
at writeFn (/$bunfs/root/claude:12:4895)
at $ (/$bunfs/root/claude:12:4285)
at write (/$bunfs/root/claude:12:4408)
at P (/$bunfs/root/claude:14:36)
at hg (/$bunfs/root/claude:1121:1991)
at qZR (/$bunfs/root/claude:2967:4003)

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.15
  • Feedback ID: 8a8f8a8d-8a37-478f-9ca9-f8d80e60c5bc

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:1903)\n    at AW (/$bunfs/root/claude:11:34882)\n    at readdirSync (/$bunfs/root/claude:12:1864)\n    at hGR (/$bunfs/root/claude:1482:380)\n    at hGR (/$bunfs/root/claude:1482:1350)\n    at <anonymous> (/$bunfs/root/claude:1482:4440)\n    at <anonymous> (/$bunfs/root/claude:1482:5171)\n    at A (/$bunfs/root/claude:11:7245)\n    at iq8 (/$bunfs/root/claude:4125:4342)\n    at async <anonymous> (/$bunfs/root/claude:5413:2332)","timestamp":"2026-01-25T20:08:16.277Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/asanobm/.local/share/claude/versions/2.1.15 (expected in multi-process scenarios)\n    at eZR (/$bunfs/root/claude:3243:2091)\n    at cFA (/$bunfs/root/claude:3243:1202)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T20:08:16.402Z"},{"error":"Error: LSP server plugin:rust-analyzer-lsp:rust-analyzer crashed with exit code 1\n    at <anonymous> (/$bunfs/root/claude:1552:21456)\n    at emit (node:events:98:22)\n    at #handleOnExit (node:child_process:520:14)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-25T20:08:17.942Z"}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions