claude-code
claude-code copied to clipboard
"Unexpected Code Generation Interruption During Development" This title captures the core issue of the code generation process unexpectedly stopping, while being technical and specific about the problem's nature.
Bug Description just stops coding all the time recenlty ther eis no reason here to stop it has and it makes you think it's goingto continue, it's FULLY stopped coding ⏺ Now I have a complete understanding. I can see the Planning Mode System starts at line 1997 and goes to the end of the file (line 3448). This is a substantial amount of code (1,451 lines) that needs to be extracted into a separate module. Let me begin the extraction process.
First, let me create the PlanningManager.js module:
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.35
- Feedback ID: d863eb27-892d-41b5-a40e-2dca7bd28104
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 TZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:700:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at VX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at nS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at f9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-29T02:36:19.114Z"},{"error":"Error: Request was aborted.\n at Vt._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1305:7931)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-29T02:42:34.025Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/greg/codebase/TaskList/Task2.0/data'\n at Module.readdirSync (node:fs:1562:26)\n at Object.readdirSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:536:1562)\n at $F5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1412:721)\n at Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1412:148)\n at call.next (<anonymous>)\n at eC5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:25091)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async eH1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:23247)\n at async sH1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1890:775)\n at async tC5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:22391)","timestamp":"2025-06-29T02:46:03.804Z"},{"error":"Error: Error opening file /Users/greg/.claude/projects/-Users-greg-codebase-TaskList/2b67371b-89f0-4ead-bf1d-cb6826042f47.jsonl: Error: ENOENT: no such file or directory, open '/Users/greg/.claude/projects/-Users-greg-codebase-TaskList/2b67371b-89f0-4ead-bf1d-cb6826042f47.jsonl'\n at DB1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:176)\n at async Kf1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:2813)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:3152\n at async OD0.appendEntry (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:623:15)\n at async OD0.insertMessageChain (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:22680)\n at async gG1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:1641)","timestamp":"2025-06-29T03:25:07.672Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 206781 tokens > 200000 maximum\"}}\n at Z5.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1299:12578)\n at Jq.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:2100)\n at Jq.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1314:5311)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-29T03:38:32.671Z"}]