I opened this issue on nodeJs, This is the minimal repro for the part of the node_modules.
I need to load third party esm modules in my app. I have no control over that, so i can not make them import .js
files.
To reproduce the issue run npm start
When you run npm run works
the same program will work. this time it is using the --experimental-specifier-resolution=node
option.