-
- Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loaders
Description
Version
v20.0.0-nightly20230414c94be4125b
Platform
Linux server 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
touch loader.js echo "setInterval(() => {}, 1000);" > test.cjs node --loader ./loader.js test.cjsHow often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
Node.js starts up without loading the provided loader over and over again.
What do you see instead?
Node.js spams the console with the following warning while the memory and CPU usage climbs until it's stopped / OOMs.
(node:5652) ExperimentalWarning: Custom ESM Loaders is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) Additional information
Possibly relevant #44710
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues with confirmed bugs.Issues with confirmed bugs.loadersIssues and PRs related to ES module loadersIssues and PRs related to ES module loaders