Create-react-native-app: Run iOS script fails because of Simulator code 60

Created on 14 Mar 2017  路  4Comments  路  Source: expo/create-react-native-app

After installing all the dependencies, I run npm run ios and it fails at the simulator step with the following terminal output:

Starting packager...
Starting simulator...
Failed to start simulator:

Error: Process exited with non-zero code: 60

Exiting...

However, the Simulator does start up and Exponent starts up but fails to connect to the server.

I'm having trouble isolating the problem because I haven't changed anything from the initial project files.

bug underlying tools

Most helpful comment

Hi! Thanks for the report. This is an issue we've seen a few times, and it's usually resolved by a reboot or by clearing the simulator device's content and settings. Can you let me know if either of those things resolve the issue?

All 4 comments

Hi! Thanks for the report. This is an issue we've seen a few times, and it's usually resolved by a reboot or by clearing the simulator device's content and settings. Can you let me know if either of those things resolve the issue?

Yep, solved by hitting Reset Content and Settings in the Simulator. Similar to #67 in this regard. Thanks for the troubleshoot!

Reset Content and Settings seems to fix the issue. However, on my machine, I have to do this whenever the Simulator App restarts. I thought something was wrong with my machine. I factory reset everything and started from scratch. I'm still getting the same error, but the Reset Content and Settings works.

Metro Bundler has encountered an internal error, please check your terminal error output for more details

ABI25_0_0RCTFatal
__37-[ABI25_0_0RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
main
start

Was this page helpful?
0 / 5 - 0 ratings

Related issues

witbybit picture witbybit  路  4Comments

iRoachie picture iRoachie  路  5Comments

FezVrasta picture FezVrasta  路  3Comments

FezVrasta picture FezVrasta  路  3Comments

THPubs picture THPubs  路  4Comments