I\'m using react-native 0.28.0
I\'m trying to show an image on iPhone simulator according to this tutorial: http://www.appcoda.com/react-native-introduction/
I had exactly the same problem and my solve was to set what you've got as var styles = ... to const styles = ... and that's it this solved my problem.
var styles = ...
const styles = ...