Claude Code Crash During JavaScript Code Refactoring

Resolved 💬 2 comments Opened Jul 3, 2025 by sunt05 Closed Jul 3, 2025

Bug Description
Claude Code always keeps crashing when fixing this js code - which I never encountered before with Claude Code in any other projects.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.41
  • Feedback ID: 53279985-2996-4dad-b9ee-2125fe8d849f

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:892:11)\n    at execSync (node:child_process:964:15)\n    at JI (file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:702:3921)\n    at file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:9038\n    at Q (file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:13327)\n    at _X (file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:8184)\n    at w_ (file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:7265)\n    at U9 (file:///Users/tingsun/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:623:11432)","timestamp":"2025-07-03T19:53:42.666Z"}]

!Image

View original on GitHub ↗

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