[BUG] Cannot access 'n7' before initialization

Resolved 💬 9 comments Opened Oct 15, 2025 by aaronsb Closed Jan 12, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

In the course of working with Claude, it keeps crashing and returning me to the cli.

What Should Happen?

Claude should continue to function, rather than exit unexpectedly in the middle of work.

Error Messages/Logs

ReferenceError: Cannot access 'n7' before initialization
    at Timeout._onTimeout (file:///home/aaron/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2719:34638)
    at listOnTimeout (node:internal/timers:608:17)
    at process.processTimers (node:internal/timers:543:7)

Steps to Reproduce

Work with claude for a moment, ask it to read my architectural documents, which I will attach as examples.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.17

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

I'm using Konsole on Arch linux. Reading these files seems to cause it to break immediately or after some seconds, up to 30.

ADR-032-automatic-edge-vocabulary-expansion.md
ADR-032-IMPLEMENTATION-NOTES.md

View original on GitHub ↗

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