Closed lyahdav closed 7 years ago
Turns out there was a typo in the .babelrc
file. react-natve
instead of react-native
. Turns out react-native
isn't even needed in the .babelrc
. I must have added it for some reason thinking it was needed. Oops.
Check in your package.json file there react-native installed correctly or not. You can also create .babelrc file in root of you project with following content:
{ "presets": ["react-native"] }
I cloned the repo, ran
npm install
and thennpm start
and I get this error:This is apparently the same error that comes from the motivation for this repo so I'm a bit confused.
I did have to change the package.json slightly. I changed the
babel-preset-stage-1
dependency version to:"babel-preset-stage-1": "6.13.0"
It couldn't find the original
babel-preset-stage-1
version that was in the package.json.