Skip to content

Rename binary that supports ESM to node2 #42469

Closed
@Raynos

Description

@Raynos

What is the problem this feature will solve?

I'm currently using nodejs with require and commonjs,

I cannot require an .js file that uses ESM and it's a terrible user experience.

What is the feature you are proposing to solve the problem?

Can we remove ESM support from node and make a node2 binary that supports ESM ?

What alternatives have you considered?

Add the ability to require an ESM module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    esmIssues and PRs related to the ECMAScript Modules implementation.feature requestIssues that request new features to be added to Node.js.stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions