Error Initializing Prisma on Expo
I've created an Expo project which I am trying to connect to Supabase via Prisma, but I get the following error after bundling on my physical device:
I'm sure this is the result of some small mistake in configuration, but I've looked for answers eleswhere and haven't found any similar issues. I tried clearing the cache with
npx expo start --clear
but that didn't seem to help. Any thoughts?
Happy to provide more details if needed.2 Replies
Hey 👋
Do you mind sharing this question in #orm-for-expo-feedback channel?
Oh, Nevermind, just saw that you already shared it in the channel 😄
Seems to be a issue with the NativeModule linking, see https://github.com/prisma/react-native-prisma/issues/16#issuecomment-2143449697
GitHub
Prisma Integration Errors in React Native with Expo: Warnings and I...
Description When following documentation for in README.md according to the Expo Section I get various warinings/errors in different scenarios. Creating a PrismaClient instance anywhere in the appli...