lundi 30 mars 2015

How to run React-Native Examples?

I can't find any instructions on how to install and run one of the other Examples provided in 'http://ift.tt/1CVuish' such as 'http://ift.tt/1CVuic0'.


The tutorial only tells you to do


react-native init AwesomeProject


which grabs 'http://ift.tt/1I8FfGH'.




If I clone the entire 'react-native' repository, and then run



npm install
npm start


From the root folder (i.e. '/react-native'), and then open '/react-native/Examples/Movies/Movies.xcodeproj' in Xcode, and Run the project, it seems to build fine. The Simulator comes up, shows a "Movies" intro screen for the app, but then the red screen of death appears with a print out of:



:0


and Terminal, where 'npm start' is running at the root folder, prints out:



Error: EISDIR, read
at Error (native)
[02:35:02] <START> request:/Examples/Movies/MoviesApp.includeRequire.runModule.bundle

Aucun commentaire:

Enregistrer un commentaire