nextdoctor diagnose
A read-only static scan of the current project. Safe to run against any project, including ones you don't own — it never writes anything.
$nextdoctor diagnose
What it checks
- Next.js version, and whether you're on Turbopack without memory eviction (versions before 16.3)
onDemandEntriestuning — or the lack of itnext.configpresence and known risky flags (e.g. an explicitly disabled eviction setting)- Monorepo detection (turbo/nx/pnpm workspaces)
Reading the output
Each finding shows its severity (CRITICAL, WARNING, or INFO), whether it's auto-fixable and how, and a summary line at the end with a concrete next step when applicable — e.g. how many findings nextdoctor fix can apply automatically.