A new project created with the latest version of react-native throws javascript error while running(/debugging). Tested this on simulator.
[fatal][tid:main] TypeError: babelHelpers.typeof is not a function. (In 'babelHelpers.typeof(target)', 'babelHelpers.typeof' is undefined)
Installed the react-native client today & created the app using
react-native init AwesomeProject
App version:
react-native-cli: 0.1.10
react-native: 0.20.0
node version: v5.6.0
react-native-cli
installed under my home folder using a.npmrc
with a customprefix=/
. I reinstalled thereact-native-cli
after removing this option. New projects created with the new client started working. I still don't know what the real problem is. – Prasanth Feb 23 '16 at 17:39.bablerc
. It is a clean project created by runningreact-native init
. – Prasanth Feb 25 '16 at 12:12