A new project created with the latest version of react-native throws javascript error while running(/debugging). Tested this on simulator.
[fatal][tid:main]
It's usually due to a 3rd party npm dependency that has .babelrc or babel es2015 preset specified in it's package.json.
There's a fix in place: https://github.com/facebook/react-native/pull/11093