claude-code - 💡(How to fix) Fix [Bug] autoMemoryDirectory option not functioning after upgrade to v2.1.121 [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#54142Fetched 2026-04-28 06:38:07
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/meeno/.local/share/claude/versions/2.1.121 (expected in multi-process scenarios)\n at u88 (/$bunfs/root/src/entrypoints/cli.js:2771:2177)\n at zO6 (/$bunfs/root/src/entrypoints/cli.js:2771:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T02:01:03.564Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/meeno/.local/share/claude/versions/2.1.121 (expected in multi-process scenarios)\n    at u88 (/$bunfs/root/src/entrypoints/cli.js:2771:2177)\n    at zO6 (/$bunfs/root/src/entrypoints/cli.js:2771:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T02:01:03.564Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description After updating from version 2.1.119 to version 2.1.121, the “autoMemoryDirectory” option is not working properly. I am using the Claude Code CLI in a WSL2 environment, and I have added the “autoMemoryDirectory” option to the setting.local.json file in the .claude directory within my project.

Environment Info

  • Platform: linux
  • Terminal: wsl-Ubuntu-20.04
  • Version: 2.1.121
  • Feedback ID: b01f4b53-3da2-40ad-ac08-cfcbd1ff6f2c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /home/meeno/.local/share/claude/versions/2.1.121 (expected in multi-process scenarios)\n    at u88 (/$bunfs/root/src/entrypoints/cli.js:2771:2177)\n    at zO6 (/$bunfs/root/src/entrypoints/cli.js:2771:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T02:01:03.564Z"}]

extent analysis

TL;DR

The "autoMemoryDirectory" option may not be working properly due to a potential issue introduced in version 2.1.121, and checking the configuration or downgrading to a previous version might be necessary.

Guidance

  • Verify that the "autoMemoryDirectory" option is correctly configured in the setting.local.json file and that the file is being read correctly by the Claude Code CLI.
  • Check the error message for any clues about the lock acquisition failure and its relation to the "autoMemoryDirectory" option.
  • Consider downgrading to version 2.1.119 to see if the issue persists, which could help determine if the problem is specific to version 2.1.121.
  • Review the documentation for any changes to the "autoMemoryDirectory" option in version 2.1.121 that might affect its behavior.

Notes

The provided error message seems unrelated to the "autoMemoryDirectory" option at first glance, but it might be a symptom of a larger issue. Without more information about the expected behavior of the "autoMemoryDirectory" option, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Downgrade to version 2.1.119, as it is the last known working version for the "autoMemoryDirectory" option, and this will help to isolate if the issue is indeed version-specific.

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

claude-code - 💡(How to fix) Fix [Bug] autoMemoryDirectory option not functioning after upgrade to v2.1.121 [1 comments, 2 participants]