Skip to Content

Troubleshootingturno doctor

Node.js is too old

What turno doctor means by "node <node>, and turno needs 20 or newer", and the fix.

View source

This page is for when turno doctor reports the finding below: what it means and how to fix it.

What you see

  x  node <node>, and turno needs 20 or newer
     manual: install Node.js 20 or newer (https://nodejs.org)

It is a failure; a failure makes turno doctor exit with code 1. Words in angle brackets stand for values from your machine.

Why it happens

turno runs on Node.js. The package asks for Node 22.11 or newer; doctor fails below Node 20.

Fix

Install Node.js 20 or newer (https://nodejs.org)

No single command fixes this one, so doctor names the manual step.

Then run turno doctor again to see the row turn into ok.

The check lives in packages/turno/src/cli/commands/doctor.ts.

On this page