
Could not find a declaration file for module 'react-native-appwrite'. '/Users/albertorg/Documents/Projects/Personal/Eson/eson/node_modules/react-native-appwrite/dist/cjs/sdk.js' implicitly has an 'any' type.
Try npm i --save-dev @types/react-native-appwrite
if it exists or add a new declaration (.d.ts) file containing declare module 'react-native-appwrite';

any solution for this?

How did you install it?

npx expo install react-native-appwrite react-native-url-polyfill

Im using yarn

Hmm they might be missing but we have an update coming out soon that should have it. You could try to generate them by going into that react-native-folder and running npm run build

That worked for me, thank you very much

[SOLVED] Typescript react-native-appwrite sdk

im still having this problem can anyone give me a solution for this ?


Thank you so much for this replay I solved this problem with the help of the declare module
Problem solved and all work perfectly.

Is there a known fix date for this?

Going into node_modules/react-native-appwrite and running yarn run build does fix it, but is hacky 🤣

Did you try with version 0.3.0?
Recommended threads
- My Appwrite login is failing
Hello team, I’m facing a login issue with appwrite this morning. I started receiving customer support emails that they can’t login. I haven’t changed or pushed ...
- Problems following https://appwrite.io/b...
To me it is unclear what the author means when he writes "Please note that the Appwrite instance should be shut down". I am using docker. What exactly am I supp...
- Custom SMS Provider Guide
Any Help on this Topic will be appriated https://github.com/appwrite/appwrite/issues/10637
