
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
- Received duplicate events
I used the React Native SDK to subscribe to `buckets.<ID>.files` on the client side. When the backend creates a file, two events are logged in my client's conso...
- Email Verification on Paid Plans Only?
This might be a dumb question. But do you need to upgrade to a paid plan in order to enable email verification?
- User (role: guests) missing scope (proje...
Hi, starting from last night I started having issues accessing my 2 projects. I am on a free account. I get User (role: guests) missing scope (projects.read) su...
