Unexpected Task Interruption During Code Generation Workflow
Resolved 💬 3 comments Opened Aug 25, 2025 by dunktra Closed Aug 29, 2025
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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗