
Heyo.
The moment I use anything within the react native Appwrite SDK, I get an error:
TypeScript
Android Bundled 17057ms (D:\git\headpat\headpat-app\index.js)
ERROR TypeError: Cannot read property 'prototype' of undefined, js engine: hermes
at ContextNavigator (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:194459:24)
at ExpoRoot (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:194431:28)
at App
at withDevTools(App) (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:174903:27)
at RCTView
at CssInterop.View (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:15128:45)
at RCTView
at CssInterop.View (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:15128:45)
at AppContainer (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:75658:36)
at main(RootComponent) (http://192.168.178.168:8081/index.bundle//&platform=android&dev=true&hot=false&lazy=true&transform.engine=hermes&transform.bytecode=true&transform.routerRoot=app:122417:28)
I don't really know where to start looking, as it's on any page. This is the github repo: https://github.com/Headpat-Community/headpat-app
I hope anyone can find the issue to this one! 🙂
TL;DR
Developers are encountering a "Cannot read property 'prototype' of undefined" error when using the React Native Appwrite SDK in their project. The error message points towards an issue with the js engine, specifically Hermes. The problem seems to occur on any page within the app. The error message pertains to the ContextNavigator component. The repository involved can be found at <https://github.com/Headpat-Community/headpat-app>.Recommended threads
- Realtime Ui Dialogue
hi, is there a way ofdisable this dialogue that appers in my UI when we are listening for realtime events
- Email Verification Email
Hi everyone, I’m currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
