question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

react-native run-ios, can not show demo app on simulator

See original GitHub issue

🐛 Bug Report

$ react-native run-ios

# can not show demo app

After I run react-native run-ios command and terminal only show unknown infos , just as below image s shows

Although the simulator is open , but the app can not show on the simulator.

image 2. image 3. image

Environment


$ react-native info

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
xgqfrmscommented, Mar 22, 2019

it’s so weird,today everything is Ok.

I don’t know what’s going on

image

0reactions
xgqfrmscommented, Mar 26, 2019

Uhm tbh the fact that you had to run sudo npm to install is a huge red flag - probably there is something missconfigured in your machine 🤔

You should never have to sudo npm - so maybe that’s why the cache is then invalid.

why, I’m so confused with your answer.

  1. The cli command should be install globally.
  2. I had to run sudo, because the current user of linux has not install permission.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Running On Simulator - React Native
Once you have your React Native project initialized, you can run npx react-native run-ios inside the newly created project directory. If ...
Read more >
React Native Expo Managed App doesn't launch/start on iOS ...
Start your app by using expo start command. Type i and a or click on Run on iOS simulator and Run on Android...
Read more >
How to Run Your React Native App on iOS | Waldo Blog
We can run the iOS simulator on different devices, not just the default iPhone 13. For this, first start Xcode and click Window...
Read more >
How to run a React Native app on iOS - freeCodeCamp
React -Native apps can be launched on iOS simulators/physical devices by running the following command in the root folder of an app:
Read more >
How Run and Test React Native / Expo On Your Apple iOS ...
6. In iOS Simulator go to Hardward > Shake Gesture to see Expo Debug settings and select Debug Remote JS. This should attach...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found