Replies: 2 comments 4 replies
-
|
You understand this 100% right. It's quite possible whatever "test" tooling you have is just not ready for this setup. I made the concious decision to only do ESM knowing that support for require(esm) needs to trickle down to tooling. If you would attempt to do a minimal reproduction repo for this issue I'm sure you'd identify the right place to open an issue |
Beta Was this translation helpful? Give feedback.
-
|
Stability of loading ECMAScript modules using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to bump versions from version 5.6.1 to 6.0.0 in a CJS module I support. I can see in the release notes for 6.0.0 says
Using node v 20.17.0, I tried to run my unit tests by
NODE_OPTIONS='--experimental-require-module' npm testbut I'm still getting an errorJust wondering if I'm misunderstanding the release note or how I can get this to work.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions