seigel/pouchdb-react-native

Cannot assign to read only property exports of object

Opened this issue · 0 comments

I encountered this issue when I use haul instead of metro.

The reason is because in asyncstorage_core.js, module.exports is used along with import. Hence, the export keyword should be used instead of the commonjs syntax.