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

Unable to get app to run using simulator #33

Closed
andersr opened this issue Jul 11, 2016 · 3 comments
Closed

Unable to get app to run using simulator #33

andersr opened this issue Jul 11, 2016 · 3 comments

Comments

@andersr
Copy link
Contributor

andersr commented Jul 11, 2016

Hi - I followed the instructions and attempted to run the app locally using the command react-native run-ios

The result was:

  1. The simulator opens, briefly displays the "RN App" message, and then displays a loading spinner.
  2. The terminal displays a build log concluding with the following message:
** BUILD SUCCEEDED **


The following commands produced analyzer issues:
    Analyze Modules/RCTUIManager.m
(1 command with analyzer issues)
Installing build/Build/Products/Debug-iphonesimulator/RNApp.app
Launching org.reactjs.native.example.RNApp
org.reactjs.native.example.RNApp: 37986
  1. The "packager log" is displaying the following message:
~/dev/learning/react/native/react-native-meteor-boilerplate/RNApp/node_modules/react-native/packager ~
 ┌────────────────────────────────────────────────────────────────────────────┐ 
 │  Running packager on port 8081.                                            │ 
 │                                                                            │ 
 │  Keep this packager running while developing on any JS projects. Feel      │ 
 │  free to close this tab and run your own packager instance if you          │ 
 │  prefer.                                                                   │ 
 │                                                                            │ 
 │  https://github.com/facebook/react-native                                  │ 
 │                                                                            │ 
 └────────────────────────────────────────────────────────────────────────────┘ 
Looking for JS files in
   /Users/Anders/dev/learning/react/native/react-native-meteor-boilerplate/RNApp 

[11:17:27 AM] <START> Building Dependency Graph
[11:17:27 AM] <START> Crawling File System
[Hot Module Replacement] Server listening on /hot

React packager ready.

[11:17:28 AM] <END>   Crawling File System (1241ms)
[11:17:28 AM] <START> Building in-memory fs for JavaScript
[11:17:29 AM] <END>   Building in-memory fs for JavaScript (296ms)
[11:17:29 AM] <START> Building in-memory fs for Assets
[11:17:29 AM] <END>   Building in-memory fs for Assets (142ms)
[11:17:29 AM] <START> Building Haste Map
[11:17:29 AM] <START> Building (deprecated) Asset Map
[11:17:29 AM] <END>   Building (deprecated) Asset Map (72ms)
[11:17:29 AM] <END>   Building Haste Map (398ms)
[11:17:29 AM] <END>   Building Dependency Graph (2111ms)
[11:18:19 AM] <START> request:/index.ios.bundle?platform=ios&dev=true
[11:18:19 AM] <START> find dependencies
transformed 743/743 (100%)
[11:18:20 AM] <END>   find dependencies (1081ms)
[11:18:20 AM] <END>   request:/index.ios.bundle?platform=ios&dev=true (1219ms)

I then attempted to run the app using the command npm run ios but this had the same result.

Pls let me know if I can provide any additional log information to help debug this.

@sepehrooo
Copy link

Your meteor app is not running that's why.
First make sure you have meteor installed. http://meteor.com.
Then go to the MeteorApp folder with your terminal and type meteor and press enter. Don't close this terminal window.

@andersr
Copy link
Contributor Author

andersr commented Jul 12, 2016

It wasn't clear to me that I needed to first fire up Meteor. Added a PR to update the ReadMe.

@spencercarli
Copy link
Owner

Clarified in #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants