claude-code - 💡(How to fix) Fix [Bug] /copy command fails to copy last Claude response to clipboard as of 2.1.107 [2 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#48034Fetched 2026-04-15 06:35:12
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×2closed ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/slz/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T17:18:47.729Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/slz/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n    at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n    at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T17:18:47.729Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description /copy appears broken. It does not actually copy the last Claude response. I have to manually pbcopy < /tmp/claude/response.md .

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.107
  • Feedback ID: a90732c8-17ee-4378-a1de-5ac1b194d532

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/slz/.local/share/claude/versions/2.1.107 (expected in multi-process scenarios)\n    at bd_ (/$bunfs/root/src/entrypoints/cli.js:2334:2153)\n    at nt6 (/$bunfs/root/src/entrypoints/cli.js:2334:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T17:18:47.729Z"}]

extent analysis

TL;DR

The /copy command may be failing due to a lock acquisition issue, and a potential workaround is to manually copy the response using pbcopy.

Guidance

  • The error message suggests a lock acquisition failure, which might be related to the multi-process scenario, so checking the lock mechanism or running the command in a single-process environment could help.
  • Verify that the /tmp/claude/response.md file is being generated correctly and contains the expected response.
  • Try running the command outside of tmux to see if the issue is specific to the terminal environment.
  • Check the documentation for any known issues or workarounds related to lock acquisition failures in version 2.1.107.

Example

No code snippet is provided as it's not clearly supported by the issue.

Notes

The issue might be specific to the darwin platform or the tmux terminal, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: manually copy the response using pbcopy until a more permanent fix is available, as the lock acquisition issue may be a known problem in version 2.1.107.

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