reactjs - TransformError when running React Native Getting Started project (iOS) -


i'm having trouble getting react native getting started project run.

i followed guide: https://facebook.github.io/react-native/docs/getting-started.html

when try run project xcode, packager gets " transform" error appears in simulator.

transformerror: /users/alexandertworowsky/projects/awesomeproject/node_modules/react-native/packager/react-packager/src/dependencyresolver/polyfills/prelude_dev.js: unknown plugin "node-env-inline"

here versions:

os x yosemite 10.10.1 node 4.2.1 xcode 6.4 react native 0.12.0 

does know how resolve this?

any appreciated!

transformerror

had same problem. had ~/.babelrc mucking up. tried find

  1. rm -rf node_modules
  2. npm cache clean
  3. changed versions of node
  4. npm install

finally... solution me was:

sudo lsof -n -i4tcp:8081 kill process , rerun react-native run-ios


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -