-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
Remove (node:86710) ExperimentalWarning: The ESM module loader is experimental. #30213
Comments
esm is still experimental though. the warning will be removed when it isnt. |
Currently the PR to unflag at #29866 which we are hoping to land soon would still output this warning whenever loading an ES module or using a custom loader. Ideally we would have a nicer way to filter these warnings, but unfortunately it seems these will be around for a little while still. Stability could be early next year, with the warning removal then. Getting the warning message removed sooner could be something worth considering though if enough people want it. |
closing as answered |
@guybedford Just curious, what's the reason for that? I imagined that once |
flag is not there but it's still experimental, which means you should not use it in production yet |
(or publish any node module that uses es6 modules that is meant to be used with node) |
Question: Is the esm module loader a new feature in nodejs? |
Any progress on this? |
the options is no longer |
Can we at least change the warning to:
and then add a flag:
|
Is this still an issue? If so, why is the issue closed? |
I'm seeing an even more confusing version of this:
when I call 'loader=ts-node/esm' with mocha:
|
Same any fix? |
This error is getting kind of wild. If the use case is the CLI, why is the suggested fix to drop into a script (or some kind of dynamic eval at the CLI)? At the context of some (if not all) warnings, there is no Why not suggest |
Could we remove the ESM warning, please?
--no-warnings affects Node.js behavior, so that can't be used
For people who write shell executables there's a bloody extra line being output requiring trickery
ESM is so unexperimental since 190423
The text was updated successfully, but these errors were encountered: