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

Unexpected Task Interruption During Code Generation Workflow

Open dunktra opened this issue 1 year ago • 3 comments

Bug Description Claude code kept stopping in the middle of task execution - This happened 2 times in a row, causing disruption in my workflow

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.70
  • Feedback ID: a28b6dc6-c2f4-4da8-b710-a8201ef4c758

Errors

[{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630","timestamp":"2025-08-25T08:45:01.626Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at $X (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:1184)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:2172\n    at Array.map (<anonymous>)\n    at $X (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:2143)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:2059\n    at Array.map (<anonymous>)\n    at $X (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:2048)\n    at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:912\n    at Array.map (<anonymous>)\n    at qX (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1587:903)","timestamp":"2025-08-25T08:45:23.237Z"},{"error":"Error: Request timed out.\n    at fP.makeRequest (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1243:4429)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-25T08:53:33.940Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T09:15:01.435Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T09:45:01.204Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T10:15:01.228Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T10:45:01.294Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T11:15:01.446Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async NG1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2042:43)\n    at async Object.current (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3222:10630)","timestamp":"2025-08-25T11:45:01.297Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at Sq0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:2032:1009)\n    at pro

Note: Error logs were truncated.

dunktra avatar Aug 25 '25 16:08 dunktra


Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/6439
  2. https://github.com/anthropics/claude-code/issues/6438
  3. https://github.com/anthropics/claude-code/issues/6513

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 25 '25 16:08 github-actions[bot]

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

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

🤖 Generated with Claude Code

github-actions[bot] avatar Aug 29 '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 05 '25 14:09 github-actions[bot]