#Error Initializing Prisma on Expo

4 messages · Page 1 of 1 (latest)

elfin badger
#

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:

ERROR  Error: 🟥 @prisma/react-native failed to initialize, js engine: hermes
    at ContextNavigator (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:144849:24)
    at ExpoRoot (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:144805:28)
    at App
    at ErrorToastContainer (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:429756:24)
    at ErrorOverlay
    at withDevTools(ErrorOverlay) (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:429259:27)
    at RCTView
    at View (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:40763:43)
    at RCTView
    at View (http://10.0.0.213:8081/node_modules%5Cexpo-router%5Centry.bundle//&platform=ios&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:40763:43)

... (etc)

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.

dark sentinelBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

valid frost
#

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 😄