#Cannot read prototype of undefined
18 messages · Page 1 of 1 (latest)
Try putting client just after the import statement
Node 18.17.1
appwrite sdk ^13.0.0
This is a react native app?
Yes.
Then you should not use node, instead web SDK
I didn't understand. What do you mean by I should not use node.
Node is required for react native.
There are 2 appwrite SDK:
- Node SDK
- Web SDK
I think you're using the first one, so use the second one for react
Ohh sorry. I am using webSDK only.
Is there a stack trace?
yes. there is
Issue can be reproduced by cloning this repo and in dev branch replace Project Endpoint and ID in loginUser function inside Login.tsx
Pinging this to bring it to the top.