[Bug] Claude Code unexpectedly exits to terminal on Windows ARM, losing context

Resolved 💬 3 comments Opened Mar 10, 2026 by lukethomas27 Closed Mar 14, 2026

Bug Description
Claude code randomly exits back to the terminal frequently, completely stopping CC and losing context as well. Seemingly it will happen once and If I use the "/resume" command it will happen almost instantly. It only occurs on this device for me. Updated to the latest CC version today. This is a windows ARM device if that makes a difference. My Thinkpad for work as well as my personal desktop and mac, just this one laptop is having the issue.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.72
  • Feedback ID: 2267a39c-765a-460e-9cf8-950745a9694c

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at wEH (B:/~BUN/root/src/entrypoints/cli.js:2545:16532)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T23:11:52.289Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at wEH (B:/~BUN/root/src/entrypoints/cli.js:2545:16532)\n    at async j (B:/~BUN/root/src/entrypoints/cli.js:4646:16536)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T23:11:53.265Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at wEH (B:/~BUN/root/src/entrypoints/cli.js:2545:16532)\n    at async E (B:/~BUN/root/src/entrypoints/cli.js:4646:17252)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-10T23:11:53.267Z"}]

View original on GitHub ↗

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