Unexpected Parsing Error with Special Character Input

Resolved 💬 4 comments Opened Jul 17, 2025 by Tomcattt Closed Jan 4, 2026

Bug Description
This is a bug because of a special character

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.53
  • Feedback ID: 733b6923-303f-470a-9f32-891cecc2bee9

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at AI (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at MF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n    at zX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n    at MB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)","timestamp":"2025-07-16T20:54:44.863Z"},{"error":"Error: 1: ENOENT \n    at Lq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:5219)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async qq6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1208:2582)","timestamp":"2025-07-16T20:54:45.870Z"},{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 63 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:635:9928\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at wd2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1213:10315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-16T21:07:20.844Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at sF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:912\n    at Array.map (<anonymous>)\n    at rF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:903)\n    at We2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2264:7400)\n    at QN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19799)\n    at dS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n    at uS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n    at nL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n    at qN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-16T21:07:38.493Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at sF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:1184)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:912\n    at Array.map (<anonymous>)\n    at rF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1354:903)\n    at We2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2264:7400)\n    at QN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19799)\n    at dS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n    at uS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n    at nL (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n    at qN (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-16T21:17:32.797Z"},{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 48 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:635:9928\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at wd2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1213:10315)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-16T21:27:55.976Z"},{"error":"MaxFileReadTokenExceededError: File content (27372 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at QA4 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1291:43

Note: Error logs were truncated.

View original on GitHub ↗

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