-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
bug(node:24): import meta main dont work #58660
Copy link
Copy link
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.strip-typesIssues or PRs related to strip-types supportIssues or PRs related to strip-types support
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.strip-typesIssues or PRs related to strip-types supportIssues or PRs related to strip-types support
Version
v24.2.0
Platform
Subsystem
No response
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
The problem appears when running - .ts files
What is the expected behavior? Why is that the expected behavior?
true
Ts and js files should have the same behavior.
What do you see instead?
false
Additional information
When running, import.meta.main does not work inside ts files