Bug: crash on startup when developer_settings.json is empty or corrupt

Resolved 💬 1 comment Opened Jun 5, 2026 by topia01 Closed Jun 8, 2026

Description

On Windows, if %APPDATA%\Claude\developer_settings.json exists but is empty (or contains only whitespace), the app crashes on startup with:

Could not load developer settings There was an error reading or parsing developer_settings.json: Unexpected end of JSON input

Steps to reproduce

  1. Clear or empty the file at %APPDATA%\Claude\developer_settings.json
  2. Launch Claude

Expected behavior

The app should handle a missing, empty, or corrupt developer_settings.json gracefully — e.g. fall back to defaults and optionally recreate the file with {}.

Actual behavior

The app shows an error dialog and fails to start.

Workaround

Manually replace the file contents with {}.

Environment

  • OS: Windows 11 Pro 10.0.26200
  • Claude Desktop app

View original on GitHub ↗

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