Is Drizzle compatible with Expo React Native and Supabase?

got Drizzle set up, but was slapped with the error after running npx expo start
The package at "node_modules\postgres\cjs\src\index.js" attempted to import the Node standard library module "os".
It failed because the native React runtime does not include the Node standard library.
Learn more: https://docs.expo.dev/workflow/using-libraries/#using-third-party-libraries
The package at "node_modules\postgres\cjs\src\index.js" attempted to import the Node standard library module "os".
It failed because the native React runtime does not include the Node standard library.
Learn more: https://docs.expo.dev/workflow/using-libraries/#using-third-party-libraries
looking for any solution/ updates on this issue from the drizzle team/ anyone who managed to get this fixed
2 Replies
KirbyTwister
KirbyTwister2mo ago
As far as I see in documentation, you can only run SQLite with Drizzle using Expo https://orm.drizzle.team/docs/get-started/expo-new#get-started-with-drizzle-and-expo
Drizzle ORM - Native SQLite
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
koayck
koayckOP2mo ago
That's what I thought. Thanks man @KirbyTwister
Want results from more Discord servers?
Add your server