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
- GitHub Educational user offer
Hi, I'm a GitHub educational user and am confused about how to claim the following offer "Free access to Appwrite's Education plan (2 projects with equivalent r...
- My website is not loading for foreigners
I use my own domain, but I think it is set up correctly. My code is written in HTML+CSS+JS. Please help meππ
- Project paused despite active use β rest...
Hey team! My Appwrite Cloud project (685579e5000d78e67009) has been marked as paused due to inactivity, but it's actively used in production. I clicked the Rest...