claude-code - 💡(How to fix) Fix [BUG] When opening or starting Claude code in a new project, New instances keep on opening both in terminal in an IDE or if I open a Terminal on my PC [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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#51905Fetched 2026-04-23 07:41:46
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×3commented ×2renamed ×1subscribed ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

[BUG] When opening or starting Claude in a new project, New instances keep on opening both in terminal, open in an IDE or if I open a Terminal on my PC

What Should Happen?

fix this

Error Messages/Logs

Steps to Reproduce

just opened claude in a project newly made with sonnet 4.6

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude Code v2.1.117

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="1444" height="962" alt="Image" src="https://github.com/user-attachments/assets/e3328b56-da05-499f-8f83-f50d89e425e2" />

extent analysis

TL;DR

The issue might be resolved by checking the project configuration or the Claude Code settings to prevent multiple instances from opening.

Guidance

  • Verify that the project settings in Sonnet 4.6 are correctly configured to work with Claude Code v2.1.117.
  • Check the Claude Code settings to see if there's an option to limit the number of instances that can be opened at the same time.
  • Try opening Claude in a different project or with a different model to see if the issue is specific to the current project or model.
  • Review the image provided for any clues about the issue, such as multiple windows or processes running in the background.

Notes

The lack of error messages or logs makes it difficult to pinpoint the exact cause of the issue. The fact that this is a regression and worked in a previous version suggests that there might be a compatibility issue with the current version of Claude Code or Sonnet.

Recommendation

Apply workaround: Try opening Claude in a different project or with a different model to see if the issue is specific to the current project or model, as this might help identify the root cause of the problem.

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