-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can ts-node-dev be used with esm? #65
Comments
I'm not sure, but probably should. |
How would you transfrom this to I don't see the register options for |
|
This does not work unfortunately as |
@karensg |
Thanks for your help! Tried with v37, the flag does not seem to influence anything. Using what you suggested: Getting these kind of errors:
|
@karensg |
Interesting. New version does not work with the old versions of "esm": "3.2.20" but works with the last version of esm. Thank you. It's fixed for me. |
It works for me too. Absolute madness! |
Well it could be handled, but don't think it is very relevant. |
How do I run I have a sample repo where I'm trying to use top level await with scripts for |
I've completely given up on the mess that is ESM and opted for fix-esm. Worked fine with ts-node-dev for me. |
|
I can run it with ts-node itself with
node -r esm -r ts-node/register...
But I assume that at this moment ts-node-dev can not be combined with esm?
The text was updated successfully, but these errors were encountered: