jasonmerino / react-native-simple-store

A minimalistic wrapper around React Native's AsyncStorage.

Home Page:https://www.npmjs.com/package/react-native-simple-store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: Cannot read property 'cache' of undefined

younes200 opened this issue · comments

I updated react-native-simple-storage from 1.3.0 to 2.0.0 to remove the warning regarding async-storage.
But it fails with :

error: bundling failed: TypeError: Cannot read property 'cache' of undefined
    at module.exports (/Project/node_modules/react-native-simple-store/babel.config.js:2:6)

After removing this line


it works fine.

A PR is available it makes sens to you.

I Am using "@babel/core": "^7.4.4"

Any idea ?
Thanks

Hi, I am having this issue as well... Removing the line api.cache(true) make it work again. Will this be fixed soon? Cheers!