Skip to content

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

@kaiwe1

Description

@kaiwe1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions