birdofpreyru / react-native-fs

File system access for React Native
https://dr.pogodin.studio/docs/react-native-file-system
Other
121 stars 8 forks source link

The package doesn't seem to be linked #41

Closed StefanoCremonaOneAsg closed 1 month ago

StefanoCremonaOneAsg commented 1 month ago

Trying to link your fork in an existing project coming from the original react-native-fs.

I initially have several "Syntax Error" importing some types, but once I fix all of them, I have "The package doesn't seem to be linked".

Building for iOS, XCode 15.3 (15E204a)

"react": "17.0.1", "react-native": "0.64.4", "@dr.pogodin/react-native-fs": "2.25.0", "typescript": "3.8.3", node: 16.14.2 npm: 8.5.0 react-native-cli 2.0.1

Any help is welcome Thank you

Screenshot 2024-05-09 at 12 07 11 Screenshot 2024-05-09 at 12 09 14

birdofpreyru commented 1 month ago

Hey @StefanoCremonaOneAsg ,

Your problem is "react-native": "0.64.4" — I aim to keep my fork compatible with the latest RN version (currently — v0.74), and it is probably backward compatible to a few older minor versions of RN (but I have no financial capacity to invest into testing / ensuring it). RN v0.64.4 is heavily outdated (RN considers unmaintained everything prior to v0.70), for that you perhaps stick to the upstream library, or upgrade your app to modern RN.