Persistent Model Mode Selection Failure in Claude Code CLI

Status Closed — not planned
Maintainer reply None cached
Activity 4 comments · opened Nov 10, 2025 · closed Jan 11, 2026

Bug Description
Stuck in opus mode and claude didn't switch to sonnet seamlessly. Was able to switch model manually (command is either in /settings or /model sonnet depending on version.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.73
  • Feedback ID: 09be1cf4-c36b-4c83-a155-4527bb667587

Errors

[{"error":"Error: Insufficient permissions for global npm install.\n    at T$0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1554:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async lD1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:43)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3293:10962","timestamp":"2025-11-10T16:38:23.452Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at T$0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1554:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async lD1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:43)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3293:10962","timestamp":"2025-11-10T16:38:31.167Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at T$0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1554:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async lD1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:43)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3293:10962","timestamp":"2025-11-10T16:38:54.669Z"},{"error":"Error: Insufficient permissions for global npm install.\n    at T$0 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1554:1009)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async lD1 (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1564:43)\n    at async file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:3293:10962","timestamp":"2025-11-10T16:39:00.613Z"}]

View original on GitHub ↗

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