Duolith docs

Errors E0300 to E0399

E0350 Node.js cannot run the type checker

Message Node.js (node) could not run the type checker: reason

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

duolith check, duolith build and duolith dev type-check every page with the real TypeScript checker, which runs in Node.js (packages/checker, decision 0096). Node is missing, could not be started, or is older than the checker needs. A build never skips the type check, so it fails instead.

How to fix it

Install Node.js 22.18 or later, or set DUOLITH_NODE to the node program to use.

In a terminal

duolith explain E0350

Mentioned in