[BUG] Managed Settings page fails to load in Claude Desktop app (Monaco editor init crash)
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?
### Environment
- App: Claude Desktop (not web)
- Platform: macOS (Darwin 25.3.0)
- Web version: Works correctly
### Description
The Admin Settings / Managed Settings page (/admin-settings/claude-code) fails to render in the Claude Desktop app. The page loads but the Monaco editor component crashes repeatedly due to JavaScript chunk
loading failures. The same page works fine in the web browser at claude.ai.
### Actual Behavior
The page enters a crash loop where:
- SPA chunk preload fails
- Monaco editor initialization fails
- Page attempts reload, fails again
- Cycle repeats (~5 times over 2 minutes)
### Analysis
The Monaco editor JS chunks fail to be fetched within the desktop app's webview, while the same assets load fine in a regular browser. This suggests the desktop app's webview/network layer may be failing to
fetch or cache the chunked assets from assets-proxy.anthropic.com.
### Attachments
Full diagnostic log bundle available on request.
What Should Happen?
The managed settings for claude code should load and render just as it does for the web app.
Error Messages/Logs
From `claude.ai-web.log`:
2026-04-08 10:12:49 [warn] [spa] chunk preload failed, reloading TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:12:49 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'Uri')
2026-04-08 10:12:49 [error] TypeError: Failed to fetch
2026-04-08 10:12:49 [error] [REACT_QUERY_CLIENT] QueryClient error: TypeError: Failed to fetch
2026-04-08 10:12:54 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:13:01 [warn] [spa] chunk preload failed, reloading TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:13:01 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'Uri')
2026-04-08 10:13:01 [error] TypeError: Failed to fetch
2026-04-08 10:13:07 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:13:38 [error] [REACT_QUERY_CLIENT] QueryClient error: {"type":"not_found_error","statusCode":404,"endpoint":"/api/organizations/****/model_configs/claude-opus-4-6[1m]","message":"Not found"}
2026-04-08 10:13:46 [warn] [spa] chunk preload failed, reloading TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:13:46 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'Uri')
2026-04-08 10:13:46 [error] TypeError: Failed to fetch
2026-04-08 10:13:50 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:14:51 [warn] [spa] chunk preload failed, reloading TypeError: Cannot read properties of undefined (reading 'CI')
2026-04-08 10:14:51 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'Uri')
2026-04-08 10:14:51 [error] TypeError: Failed to fetch
2026-04-08 10:14:54 [error] [Monaco] init failed: TypeError: Cannot read properties of undefined (reading 'CI')
Steps to Reproduce
- Open Claude Desktop app
- Navigate to Admin Settings → Claude Code (managed settings)
- Page fails to render / appears blank or broken
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude 1.1062.0 (b81bcd) 2026-04-06T21:20:28.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗