Critical: After update, app refuses to start claiming another instance is running (none visible in processes)
Resolved 💬 8 comments Opened Apr 1, 2026 by vlastimilvajnorak Closed Jun 27, 2026
Summary
After updating Claude Code to a new version, the application refuses to start with a message indicating another instance is already running. However, no Claude Code process is visible in Task Manager or process list.
Steps to reproduce
- Have Claude Code running
- Update arrives / gets installed
- Close Claude Code
- Try to relaunch Claude Code
- App shows error that another instance is already running
- Check Task Manager — no Claude Code process exists
Workaround
The only workaround found so far is to manually search for and kill any hidden lock files or restart the machine entirely.
Expected behavior
- After update, the application should start cleanly
- If a stale lock exists from a previous instance, it should be detected and released automatically
- The app should not rely on a lock mechanism that can become orphaned
Likely cause
A lock file or named pipe/mutex from the previous version persists after the process exits (possibly related to orphaned Node.js/bash child processes from #41742 that hold handles). The new version detects the stale lock and refuses to start, even though the original process is gone.
Environment
- OS: Windows 11
- Claude Code: occurs during version upgrades
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗