Unintended File Deletion During Code Update Process

Resolved 💬 3 comments Opened Aug 1, 2025 by goldsbd Closed Aug 15, 2025

Bug Description
During some updates, Claude Code, completely wiped out a number of key files, these were Front End HTML/JS pages, all happened at exactly 23:05 last night. Claude could not find a reason why it had essentially zeroed the files either. i lost quite a bit of work. This is logs from a new Claude Session, so does not have the faulty session data

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.64
  • Feedback ID:

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 t7 (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:865:5108)\n    at file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48959\n    at Q (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n    at cJ (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:46397)\n    at Pz (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45264)\n    at W9 (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51585)","timestamp":"2025-07-31T21:32:11.063Z"},{"error":"Error: Request was aborted.\n    at TP.makeRequest (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-31T21:40:19.368Z"},{"error":"Error: Request was aborted.\n    at u71._createMessage (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-31T22:28:11.370Z"},{"error":"Error: Request was aborted.\n    at u71._createMessage (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1325:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-31T22:43:03.579Z"},{"error":"AxiosError: Request failed with status code 401\n    at tq (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:676:1077)\n    at IncomingMessage.i1 (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:677:9955)\n    at IncomingMessage.emit (node:events:530:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at JB1.request (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:679:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async p68 (file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1656:470)\n    at async Promise.all (index 0)\n    at async file:///Users/gold/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1642:6358","timestamp":"2025-08-01T08:01:20.518Z"}]

View original on GitHub ↗

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