[BUG] Claude Code - Persistent JSON Parse Error on Windows (versions 2.0.62-2.0.73)

Resolved 💬 6 comments Opened Dec 18, 2025 by DenisTEMPE Closed Feb 14, 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?

Claude Code fails to start on Windows 11 VS Code with a persistent JSON parse error across all tested versions (2.0.62, 2.0.70, 2.0.73). The extension successfully authenticates via OAuth but crashes immediately when attempting to spawn the Claude process with the error: SyntaxError: Unexpected token 'C', "Claude con"... is not valid JSON

What Should Happen?

After OAuth authentication, Claude Code should successfully start and respond to user prompts without JSON parsing errors.

Error Messages/Logs

Authentication succeeds:
2025-12-18 10:06:43.201 [info] Login successful
2025-12-18 10:06:43.201 [info] OAuth tokens found in secure storage
2025-12-18 10:06:43.201 [info] Auth status: method=claudeai

Error Messages/Logs:
2025-12-18 10:13:07.032 [info] From claude: Spawning Claude Code native binary: c:\Users\dtempe\.vscode\extensions\anthropic.claude-code-2.0.62-win32-x64\resources\native-binary\claude.exe --output-format stream-json --verbose --input-format stream-json --max-thinking-tokens 0 --model default --permission-prompt-tool stdio --mcp-config {"mcpServers":{"claude-vscode":{"type":"sdk","name":"claude-vscode"}}} --setting-sources user,project,local --permission-mode plan --include-partial-messages --debug --debug-to-stderr --enable-auth-status
2025-12-18 10:13:07.972 [info] Closing Claude on channel: nmzlg0ox8n
2025-12-18 10:13:07.972 [error] Error from Claude (on channel nmzlg0ox8n): SyntaxError: Unexpected token 'C', "Claude con"... is not valid JSON

Steps to Reproduce

  1. Install Claude Code extension in VS Code on Windows 11
  2. Authenticate via OAuth with Claude.ai account (authentication succeeds)
  3. Open Claude Code panel and attempt to send any message (e.g., "hello")
  4. Error appears immediately: SyntaxError: Unexpected token 'C', "Claude con"... is not valid JSON

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.73

Platform

Other

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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