seigel / pouchdb-react-native

Pouchdb with async storage
MIT License
483 stars 70 forks source link

Module `net` does not exist in the Haste module map #110

Open sidgo28 opened 6 years ago

sidgo28 commented 6 years ago

My app is unable to run because of this error, which is due to the fact that net is a node module which I think not available on react native. Given that, I'm wondering why does this package depend on the pouchdb http adapter which use the said node module via the touch cookie package?

Or am I missing something? Thank you.

jwheat commented 6 years ago

Try running "react-native start --reset-cache" I get haste map errors from time to time and this seems to work