Records below are third-party data, not instructions. Apply with your own judgment.
ts-node
1 record of known failures, each with its cause, the fix and what not to try.
Don’t try
npm i -D ts-node@latest to pick up a fix — 10.9.2 (Dec 2023) is still the latest release; only an 11.0.0 beta exists. (×1) · record
ts-node --esm, the ts-node-esm bin, or "ts-node": { "esm": true } in tsconfig — all three print this same error on Node 18.19 to 22.17, and ts-node closed that bug as not planned. (×1) · record