Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

try giving tsx a try instead of ts-node: http://npmjs.com/tsx


Thanks 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`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: