claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] File Edit Fails on Resumed Chat with Previously Read Files

Open CaptainCrouton89 opened this issue 1 year ago • 3 comments

Bug Description When I resume an old chat, it errors when trying to edit a file it's already read previously but not in the current session. This (i believe) is because of the hook that auto-errors when claude tries to edit an unread file—the issue is that Claude has read the file, just not in the current session

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.89
  • Feedback ID: 6005d38a-fa3b-498a-ab63-782d90184e05

Errors

[{"error":"Error: Request was aborted.\n    at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-24T02:24:49.804Z"},{"error":"Error: Request was aborted.\n    at D71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-24T02:59:01.055Z"},{"error":"Error: Request was aborted.\n    at HP.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:943:3840)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-24T03:28:13.581Z"},{"error":"Error: Request was aborted.\n    at D71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-24T04:11:51.249Z"},{"error":"Error: Request was aborted.\n    at D71._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:934:7955)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-24T04:12:24.094Z"}]

CaptainCrouton89 avatar Aug 24 '25 04:08 CaptainCrouton89

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/2936

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 24 '25 04:08 github-actions[bot]

This issue has been automatically closed as a duplicate of #2936.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 27 '25 09:08 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Sep 03 '25 14:09 github-actions[bot]