claude-code - 💡(How to fix) Fix [Feature Request] Add option to specify Claude model version [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#52440Fetched 2026-04-24 06:07:12
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/peter/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.562Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:34.644Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/peter/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.562Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n    at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:34.644Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description opus4.7 is terrible and breaking things i need option to go back to 4.6

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.118
  • Feedback ID: 6e674019-0b02-4366-b4be-557f87328f83

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/peter/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:33.562Z"},{"error":"Error: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: code --force --install-extension anthropic.claude-code\nPremature close \n    at jZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:4045)\n    at async wZ1 (/$bunfs/root/src/entrypoints/cli.js:1707:1435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T15:37:34.644Z"}]

extent analysis

TL;DR

Downgrade to opus 4.6 to potentially resolve the compatibility issues.

Guidance

  • Verify the current version of opus being used and confirm it's indeed 4.7.
  • Check the documentation or release notes for opus 4.7 to see if there are any known issues or workarounds for the errors encountered.
  • Attempt to downgrade opus to version 4.6 using the appropriate package manager or installation method.
  • If downgrading is not feasible, try to identify and isolate the specific feature or functionality causing the issue with opus 4.7.

Example

No code snippet is provided as the issue does not contain sufficient information about the code or implementation details.

Notes

The provided error messages suggest issues with lock acquisition and premature closure, which may be related to the opus version. However, without more context or information about the specific use case, it's difficult to provide a more targeted solution.

Recommendation

Apply workaround: Downgrade to opus 4.6, as the current version (4.7) seems to be causing compatibility issues and breaking functionality.

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