You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to many Nestjs discussions, the recommended way is to use Node v22+ and run your app with --experimental-require-module until it gets ported to stable Nodejs release.
Alternatively, if you don't need to access lowdb in constructor, import it with a dynamic import at the place you need.
I want to use lowdb with NestJS.
But lowdb is ESM, and NestJS is CommonJS.
How to configure this?
The text was updated successfully, but these errors were encountered: