react-native-image-cache-wrapper icon indicating copy to clipboard operation
react-native-image-cache-wrapper copied to clipboard

TypeError: Cannot read property 'DocumentDir' of undefined

Open lentesta opened this issue 4 years ago • 1 comments

I get this error simply by importing the component into my code:

import { CachedImage } from 'react-native-image-cache-wrapper';

Here are the commands I used to install the component:

$ npm install react-native-image-cache-wrapper --save $ npm install [email protected] --save $ react-native link rn-fetch-blob $ RNFB_ANDROID_PERMISSIONS=true react-native link

If I comment out the import, the code runs without error or warning messages.

I'm running react-native version 0.61.4. I'm also running Expo 36.0.0, if that helps.

Thanks!

lentesta avatar Apr 24 '20 17:04 lentesta

Did you find any solution to this?

cokealmonacid avatar Oct 07 '20 20:10 cokealmonacid