Skip to content
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

ERR_UNKNOWN_FILE_EXTENSION in running the example on Node 20 or above #118

Open
kaiwe1 opened this issue Feb 2, 2024 · 1 comment
Open

Comments

@kaiwe1
Copy link

kaiwe1 commented Feb 2, 2024

Just a small problem in using Node 20 or above to run your example.

Using ts-node to run the example of native ESM modules on Node 20 or above will cause ERR_UNKNOWN_FILE_EXTENSION.

node --loader ts-node/esm create-http2-requests.ts

works fine for me.

@kaiwe1
Copy link
Author

kaiwe1 commented Feb 2, 2024

TypeStrong/ts-node#1997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant