[BUG] App crashes on startup when Code panel auto-loads (v1.8555.0, Windows)

Resolved 💬 1 comment Opened May 22, 2026 by jakubnovakzdirec1-ai Closed Jun 21, 2026

Preflight Checklist

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

What's Wrong?

NOTE: This is a bug in Claude Desktop app, not Claude Code CLI.
If wrong repo, please redirect or move.

Claude Desktop v1.8555.0 on Windows 11 crashes within 10–30 seconds
of every startup. The crash is triggered by the Code panel
auto-loading as the default tab. Switching to Chat immediately
after launch reliably prevents the crash.

Environment:

  • App version: 1.8555.0 (MSIX from Microsoft Store)
  • OS: Windows 11, build 26200.8246
  • Auto-updated from: 1.8089.1 → 1.8555.0 on 2026-05-22
  • Corporate machine (no admin rights, Hyper-V not available)

Renderer process crashes. Main process exits cleanly enough that
Windows Event Viewer logs no crash event — but the UI window is gone.

What Should Happen?

App should launch and remain stable regardless of which panel is default.

Error Messages/Logs

From %APPDATA%\Claude\logs\claude.ai-web.log — this error appears 
at EVERY startup of v1.8555.0 (verified across 4 consecutive launches):

[error] Uncaught (in promise) ReferenceError: Cannot access '$s' before initialization

This error does NOT appear in any v1.8089.1 logs. Specific to 1.8555.0.
Looks like a temporal dead zone / circular import issue in the bundled JS.

Already ruled out:
- Not a hardware crash (Windows Event Viewer empty for Claude.exe)
- Not Hyper-V / YukonSilver VM dependency (logs "Skipping" gracefully)
- Not corrupted profile (reproduces on every launch)
- Not the auto-updater (update completed successfully)

Steps to Reproduce

  1. Launch Claude Desktop (cold start) on Windows 11
  2. Do not interact with the app
  3. Wait 10–30 seconds
  4. App window disappears

Reliable workaround:

  • After launch, IMMEDIATELY click the Chat tab before Code panel finishes loading
  • App then runs stably for hours
  • Clicking Code manually afterwards does NOT cause a crash
  • Conclusion: trigger is specifically Code being the default initial route on cold start

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

i cant remember - it was like 2 months before - i had to download the older version to use claude code - i stopped doing that a while ago.

Claude Code Version

N/A — this bug is in Claude Desktop app v1.8555.0, not Claude Code CLI

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

I have a company PC with restrictions - but i dont know what the issue is to tell them what restriction to delete.

claude.ai-web.log
cowork_vm_node.log
main.log
main1.log
ssh.log
unknown-window.log

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗