Shell Snapshot File Not Found During Restoration

Resolved 💬 6 comments Opened Jul 15, 2025 by parkertoddbrooks Closed Jul 17, 2025

Bug Description
I get this issue about once a day, and I have to start a new Claude Code session to get shall commands to work:

Error: zsh:source:1: no such file or directory: /Users/parker/.claude/shell-snapshots/snapshot-zsh-c92eee72.sh

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.52
  • Feedback ID: 7e7d93c3-c96e-411e-96dc-79d17d6b1059

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 eD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:706:6320)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:618:14473\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:520:14406)\n    at AF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:618:13613)\n    at gC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:618:12479)\n    at $B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:618:17093)","timestamp":"2025-07-15T21:41:53.196Z"}]

View original on GitHub ↗

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