When I launch :
react-native bundle --entry-file='index.js' --bundle-output='./ios/MyProject/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
I have an error which says that :
Unable to resolve module `util` from `/Users/canatac/RNProjects/<MyProject>/node_modules/<A_Module>/lib/Bot.js`: Module `<A_Module>` does not exist in the Haste module map.
But what is a Haste module map ?
Same error occured for me once, and that Github thread has helped me.
I had a similar problem - what helped was running npm start -- --reset-cache command.
Based on the question itself, it is somehow connected to /tmp/haste-map-react-native-packager-*
, ergo React Native Packager.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With