Open ryanhugh opened 1 year ago
v7+ are ESM only but feel free to use older versions if you need commonjs support
I got this error running with Nestst. Seems they don't support ESM yet (https://github.com/nestjs/nest/issues/11046#issuecomment-1416983059). Downgrade to ^6
solves.
Faced with this as well
The latest version 7.0.0 causes this error:
I didn't get this error in v6. I'm about to downgrade to v6. I don't have type: module in my package.json and cannot add that. All the other packages work without that.