Silent Failure on Malformed JSON `.claude/settings.json` Files

Resolved 💬 4 comments Opened Jul 1, 2025 by jyrodrigues Closed Aug 20, 2025

Bug Description

If .claude/settings.json is malformed claude ignores it silently even with --debug flag. E.g. if there's a dangling comma in the last item of a list, claude completely ignores the settings file and proceeds silently as if setting up the project for the first time. This also happens with .claude/settings.local.json.

A warning would be fantastic! I just spent half an hour debugging this after editing my settings file.

Thanks!

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 1.0.40
  • Feedback ID: f219f4c9-3d44-44f1-b6ac-ce695b2074de

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗