I'm having trouble getting the React Native Getting Started project to run.
I followed this guide: https://facebook.github.io/react-native/docs/getting-started.html
When I try to run the project from Xcode, the packager gets to " transform" then an error appears in the simulator.
TransformError: Projects/AwesomeProject/node_modules/react-native/packager/react-packager/src/DependencyResolver/polyfills/prelude_dev.js: Unknown plugin "node-env-inline"
Here are my versions:
OS X Yosemite 10.10.1
Node 4.2.1
Xcode 6.4
React Native 0.12.0
Had this same problem. I had a ~/.babelrc that was mucking everything up. I tried everything I could find
rm -rf node_modulesnpm cache cleannpm installFinally... the solution for me was:
sudo lsof -n -i4TCP:8081
then kill the process and rerun react-native run-ios
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With