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

Persistent Model Mode Selection Failure in Claude Code CLI

Open nekrozon opened this issue 3 months ago • 2 comments

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"}]

nekrozon avatar Nov 10 '25 16:11 nekrozon

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/2820
  2. https://github.com/anthropics/claude-code/issues/11299
  3. https://github.com/anthropics/claude-code/issues/3185

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

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 11 '25 10:12 github-actions[bot]