#[SOLVED] Typescript react-native-appwrite sdk

17 messages · Page 1 of 1 (latest)

upper nexus
#

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';

upper nexus
#

any solution for this?

topaz isle
#

How did you install it?

upper nexus
#

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

#

Im using yarn

astral fable
upper nexus
#

That worked for me, thank you very much

#

[SOLVED] Typescript react-native-appwrite sdk

frail lake
#

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

frail lake
alpine escarp
#

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 🤣

astral fable
alpine escarp
#

I followed the guide on the github page

#

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

astral fable