[Bug] Directory name changes during execution cause runtime errors

Resolved 💬 2 comments Opened Feb 6, 2026 by BasedLukas Closed Feb 7, 2026

Bug Description
If you modify the name of the directory in which Claude is running (the dir from which you started the session) while it is running, it throws errors.

<img width="929" height="510" alt="Image" src="https://github.com/user-attachments/assets/f037b13d-a463-42f3-a6a5-afb626dfafb1" />

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.15
  • Feedback ID: 9a2493b7-52c3-449a-8edf-368f72c3c8e5

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-02-06T16:56:52.335Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/lukas/.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-02-06T16:56:52.371Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:901:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:09:04.028Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:901:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:09:04.031Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/claude:901:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:09:04.032Z"},{"error":"Error: Path \"/Users/lukas/code/tools/deep_research\" does not exist\n    at gK (/$bunfs/root/claude:1439:1544)\n    at CGR (/$bunfs/root/claude:1446:85)\n    at call (/$bunfs/root/claude:4518:1032)\n    at async Tl7 (/$bunfs/root/claude:2640:19024)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:41:52.823Z"},{"error":"Error: Path \"/Users/lukas/code/tools/deep_research\" does not exist\n    at gK (/$bunfs/root/claude:1439:1544)\n    at CGR (/$bunfs/root/claude:1446:85)\n    at call (/$bunfs/root/claude:4518:1032)\n    at async Tl7 (/$bunfs/root/claude:2640:19024)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:41:57.078Z"},{"error":"Error: Path \"/Users/lukas/code/tools/deep_research\" does not exist\n    at gK (/$bunfs/root/claude:1439:1544)\n    at CGR (/$bunfs/root/claude:1446:85)\n    at call (/$bunfs/root/claude:4518:1032)\n    at async Tl7 (/$bunfs/root/claude:2640:19024)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-06T17:42:02.135Z"},{"error":"Error: ENOENT: no such file or directory, posix_spawn '/Users/lukas/.local/share/claude/versions/2.1.15'\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at execFile (node:child_process:59:20)\n    at HsA (/$bunfs/root/claude:71:16809)\n    at <anonymous> (/$bunfs/root/claude:73:169)\n    at new Promise (native:1:11)\n    at QP (/$bunfs/root/claude:71:16977)\n    at QP (/$bunfs/root/claude:71:17070)\n    at s2B (/$bunfs/root/claude:4533:26898)\n    at async Tl7 (/$bunfs/root/claude:2640:19024)","timestamp":"2026-02-06T17:42:07.531Z"}]

View original on GitHub ↗

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