A new project created with the latest version of react-native throws javascript error while running(/debugging). Tested this on simulator.
[fatal][tid:main]
Solved adding babel stage-1 and react-native preset's to .babelrc in the project's root folder.
{ "presets": ["stage-1", "react-native"], }
More details here: https://github.com/facebook/react-native/issues/5747