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
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- React Native/iOS platform integrations h...
Anyone else have this issue where platform identifiers have been lost/wiped and no option/field available to update them in the console?
- Issue with Appwrite Read Request Limit b...
Hi Team, My coding terminal connected to the Appwrite CLI blew through my Projects Read request limit with in a day! and thats a large limit! I'm not sure how...