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

Node.js v12 doesn't have proper ESM support and went out of LTS < 6 months ago. Have some patience!


Node 12 went out of LTS 16 months ago. 4 months ago was Node 14


Also, Node 12 supported ESM somewhat fine, you just had to use the --experimental-modules flag for Node. If you still have to support Node 12 in 2023 for some odd reason, you probably shouldn't have a problem enabling an experimental flag to support more modern libraries.

Node 10 was truly the last LTS that had zero ESM support, and that support ended 2 and a half years ago.




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

Search: