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

Node unflagged require(esm) in Node 22 #3568

Closed
zachleat opened this issue Dec 3, 2024 · 0 comments
Closed

Node unflagged require(esm) in Node 22 #3568

zachleat opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@zachleat
Copy link
Member

zachleat commented Dec 3, 2024

I think our code is fine to handle this without issue—but the error message copy should be more explicit:

4. (Short term workaround) Use the --experimental-require-module flag to enable this behavior. Read

Take care that this might be backported to earlier versions so maybe waiting on this would be fine.

nodejs/node#55217

@zachleat zachleat self-assigned this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant