-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Importing cjs file with "module.exports"
export causes fatal error
#57295
Comments
I think the fix is to add a node/lib/internal/modules/esm/translators.js Line 215 in 47a59bd
|
Would you like to send a PR? |
I would, but I don't want to go through with setting up my development environment. |
cc @guybedford |
I'd be happy to post up a PR on Friday, unless someone else wants to get to it first. |
Fix available at #57366. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
23.9.0
Platform
Subsystem
No response
What steps will reproduce the bug?
Then
node a.mjs
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior? Why is that the expected behavior?
Probably:
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: