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.

New app not running in simulator

See original GitHub issue

Description

Created a new app but cannot get it to run via iOS simulator.

Expected Behavior

What action did you perform, and what did you expect to happen?

yarn ios expected simulator to run app but get an error message.

Observed Behavior

What actually happened when you performed the above actions?

get these warnings on creating the app: warning “expo > react-native-maps@0.21.0” has incorrect peer dependency “react-native@^0.51 || ^0.52 || ^0.53 || ^0.54”. warning “react-native > eslint-plugin-react-native@3.2.1” has unmet peer dependency “eslint@^3.17.0 || ^4.0.0”. warning “jest-expo > babel-jest@22.4.3” has unmet peer dependency “babel-core@^6.0.0 || ^7.0.0-0”.

Console reads this after ‘yarn ios’: 17:14:52: Warning: ‘react’ peer dependency missing. Run npm ls in /Users/Gavin/Desktop/myapp to see full warning. 17:14:52: 17:14:52: If there is an issue running your project, please run npm install in /Users/Gavin/Desktop/myapp and restart.

Console reads this after ‘npm ls’: npm ERR! peer dep missing: react@16.3.1, required by react-native@0.55.3 npm ERR! extraneous: node-pre-gyp@0.9.1 /Users/Gavin/Desktop/test_app/node_modules/node-pre-gyp npm ERR! extraneous: websql@0.4.4 /Users/Gavin/Desktop/test_app/node_modules/websql npm ERR! missing: websql@https://github.com/expo/node-websql/archive/18.0.0.tar.gz, required by expo@27.0.1 npm ERR! peer dep missing: react-native@^0.51 || ^0.52 || ^0.53 || ^0.54, required by react-native-maps@0.21.0 npm ERR! peer dep missing: eslint@^3.17.0 || ^4.0.0, required by eslint-plugin-react-native@3.2.1

Environment

Please run these commands in the project folder and fill in their results:

react-native-scripts@1.14.0 react-native@0.55.3 expo@27.0.1 v8.4.0 4.6.1 1.5.1 “version”: “4.9.0”

Also specify:

  1. Operating system: macOS High Sierra 10.13.4
  2. Phone/emulator/simulator & version: Simulator Version 10.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:13
  • Comments:16

github_iconTop GitHub Comments

5reactions
nicoceledoncommented, May 1, 2018

I tried again from zero, but i removed expo from simulator. Got the same warning but now it runs on the simulator.

3reactions
Osama92commented, May 21, 2018

if you’re using Expo, Update to a new version. same applies to the simulator, Delete the Expo client app from the simulator, and redownload from the command line yarn run ios. You can follow this link if you are having troubles in installation : https://docs.expo.io/versions/latest/introduction/installation

Read more comments on GitHub >

github_iconTop Results From Across the Web

iPhone app not starting on simulator, no errors - Stack Overflow
Then in the popup that appears, click Run [Your App Name] and set the Executable dropdown menu to [Your App Name].app, pictured below....
Read more >
Simulator not opening new builds | Apple Developer Forums
If I build my app in Xcode the simulator application no longer opens and when I open it manually the simulator will not...
Read more >
[iOS] - app not running on simulator · Issue #92054 - GitHub
I was running my project while developing on iOS simulators and physical android devices, and it used to work fine until I run...
Read more >
Troubleshooting: Cannot Deploy iOS App to iOS Simulator
To resolve this problem, look at the following areas: Activate the iOS Simulator as your target platform in the Project Manager:.
Read more >
Running On Simulator - React Native
If everything is set up correctly, you should see your new app running in the iOS Simulator shortly. Specifying a device​. You can...
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