Hello guys, I’m trying to implement a local database with Realm in my project that vite + electron but I’m facing several errors.
In the official documentation it asks to install crack, but crack is only for create-react-app.
I’ve tried booting several ways and they all point to this error:
[vite] Internal server error: Failed to resolve entry for package “realm”. The package may have incorrect main/module/exports specified in its package.json: No known conditions for “.” specifier in “realm” package
I just do the “import Realm from ‘realm’” and this error appears.