claude-code - 💡(How to fix) Fix [Bug] Auto-run migrations without user confirmation [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#54192Fetched 2026-04-29 06:33:48
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4closed ×1commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/william/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T23:30:31.087Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:29:23.618Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:53:58.329Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:59:01.726Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:02:27.825Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:08:12.946Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:09:54.826Z"},{"error":"Error: EISDI…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/william/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T23:30:31.087Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:29:23.618Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:53:58.329Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:59:01.726Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:02:27.825Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:08:12.946Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:09:54.826Z"},{"error":"Error: EISDI
RAW_BUFFERClick to expand / collapse

Bug Description claude just ran a fresh migration on my local without any confimation from me, pretty fucking stupid.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.119
  • Feedback ID: ce313fc3-9672-4f8d-9fce-f40a806154ff

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/william/.local/share/claude/versions/2.1.119 (expected in multi-process scenarios)\n    at mH6 (/$bunfs/root/src/entrypoints/cli.js:2736:2177)\n    at E$8 (/$bunfs/root/src/entrypoints/cli.js:2736:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T23:30:31.087Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:29:23.618Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:53:58.329Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T03:59:01.726Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:02:27.825Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:08:12.946Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:53:1553)\n    at LaH (/$bunfs/root/src/entrypoints/cli.js:130:5400)\n    at vu (/$bunfs/root/src/entrypoints/cli.js:131:181)\n    at NR (/$bunfs/root/src/entrypoints/cli.js:133:54)\n    at yw3 (/$bunfs/root/src/entrypoints/cli.js:8982:8599)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8982:7815)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8982:8146)\n    at rX (/$bunfs/root/src/entrypoints/cli.js:484:63748)\n    at O4 (/$bunfs/root/src/entrypoints/cli.js:484:76946)","timestamp":"2026-04-25T04:09:54.826Z"},{"error":"Error: EISDI…

Note: Content was truncated.

extent analysis

TL;DR

The issue seems to be related to Claude running a migration without confirmation, resulting in lock acquisition failures and illegal operations on directories.

Guidance

  • Investigate the Claude migration process to understand why it ran without confirmation.
  • Check the permissions and ownership of the directories involved in the migration process, specifically /Users/william/.local/share/claude/versions/2.1.119.
  • Review the error logs to identify any patterns or common factors among the repeated EISDIR: illegal operation on a directory, read errors.
  • Consider manually removing any locks or temporary files that may be causing the issues.

Example

No specific code snippet can be provided without more context, but checking directory permissions can be done using commands like ls -l or chmod.

Notes

The provided error logs are truncated, which may limit the ability to fully diagnose the issue. Additionally, the cause of the repeated EISDIR errors is unclear without more information about the migration process and the affected directories.

Recommendation

Apply a workaround by manually checking and adjusting directory permissions and ownership, as well as removing any unnecessary locks or temporary files, to try to resolve the issue.

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