What is your node version?
Did you try changing your suffix to .cjs as that error mentions?
If the compiled code is commonjs, then running it is not a rescript matter anymore.
What is your node version?
Did you try changing your suffix to .cjs as that error mentions?
If the compiled code is commonjs, then running it is not a rescript matter anymore.