Created
May 9, 2023 06:23
-
-
Save nickserv/73fb00eb1187a2b7cc77c24cbea074c5 to your computer and use it in GitHub Desktop.
Quick fix to use ts-node with Node 20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- ts-node --esm [path] | |
+ node --loader ts-node/esm [path] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment