Node.js v24.11.1
The error specifically refers to the @rescript/runtime dependency. I don’t see how can I fix the file extensions in a dependency without forking it and using my own version?
It seems to me that the @rescript/runtime dependency, by specifying "type": "module" makes it impossible to use it from a commonjs project because rescript compiles it (the dependency) to commonjs output and then node interprets that output as es module because of the package.json “type”.