4 ms·
try giving tsx a try instead of ts-node: http://npmjs.com/tsx http://npmjs.com/tsx
by herpdyderp 3y ago
try giving tsx a try instead of ts-node: http://npmjs.com/tsx http://npmjs.com/tsx
- loh 3y agoThanks for this. Just a few minutes ago I pulled up an old project using `ts-node` with ESM and tried to run it on a new machine, had some issues and remembered reading your comment here earlier. I switched to `tsx` and in less than a minute everything was working beautifully. I'll probably migrate all my TS projects to `tsx`.