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
- payment
I’ve never used this service. I remember signing up a long time ago but completely forgot about it. I’ve been receiving emails, but since the payments were fai...
- Problem with Google Workspace at DNS Rec...
Hello, I bought a domain at Namecheap, and Google Workspace used to work there, but now that I switched from Custom DNS to Appwrite's nameservers, it doesn't w...
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...