Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not run Examples #541

Closed
blueken opened this issue Mar 31, 2015 · 7 comments
Closed

can not run Examples #541

blueken opened this issue Mar 31, 2015 · 7 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@blueken
Copy link

blueken commented Mar 31, 2015

I open the /users/bob/documents/learn/github/react-native/Exapmples/SampleApp.xcodeproj , click run , got message below:

cannot find entry file Exapmles/SampleApp/index.ios.js in any of the roots: ["/users/bob/documents/learn/HelloReact"]

why did react native find index.ios.js in other folders? how to correct it to /users/bob/documents/learn/github/react-native/Exapmples/ ?

@blueken
Copy link
Author

blueken commented Mar 31, 2015

sorry, I run a project in /learn/HelloReact before. I stop that service. It's fine now

@jaygarcia
Copy link
Contributor

@blueken If you fix your own problems, please close the issue.

Thanks :)

@frantic frantic closed this as completed Mar 31, 2015
@kujohn
Copy link
Contributor

kujohn commented Apr 1, 2015

Interested on how this was resolved. Where can I stop the service.

@frank-xue-porch
Copy link

@kujohn it's the node server running in terminal as a background worker. stop that and rebuild should be working.

@qjloong
Copy link

qjloong commented Apr 10, 2015

Cannot find entry file in any of the roots: index.ios.js
at DependecyGraph.getOrderedDependencies ...

@zxiest
Copy link

zxiest commented Jun 8, 2015

@kujohn do ps aux | grep node ; stop those processes.
Next, go to the main react-native directory, and do npm install to make sure you have all the modules.
Once this is good, do npm start ; this will run packager.sh and allow our example apps to run.
Next, open the project in XCode and run it. You should be good =)

@kujohn
Copy link
Contributor

kujohn commented Jun 12, 2015

Thanks @zxiest !

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants