Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'DocumentDir' of undefined #13

Open
lentesta opened this issue Apr 24, 2020 · 1 comment
Open

TypeError: Cannot read property 'DocumentDir' of undefined #13

lentesta opened this issue Apr 24, 2020 · 1 comment

Comments

@lentesta
Copy link

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!

@cokealmonacid
Copy link

Did you find any solution to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants