Create-react-native-app: Freshly ejected app: `could not connect to server`

Created on 7 Aug 2017  路  1Comment  路  Source: expo/create-react-native-app

Hey,

Description

I'm trying to use create-react-native-app to create an app with ExpoKit from scratch. But without adding anything, it doesn't work for me. Here are the commands I've used:

create-react-native-app test-expokit
cd test-expokit
npm run eject (with "ExpoKit: I'll create or log in with an Expo account to use React Native and the Expo SDK." option)
npm install
cd ios && pod install
cd .. && react-native run-ios

Expected Behavior

The demo app should work on an iOS simulator.

Observed Behavior

It doesn't work on an iOS simulator, here is the result:
simulator screen shot 7 aout 2017 a 17 01 52

Environment

  1. Operating system: MacOS Sierra 10.12.5
  2. Phone/emulator/simulator & version: Xcode 8.3.3

Most helpful comment

Fixed. You have to run exp start or open the project in Expo XDE even if your project is detached/ejected. It is precised here but not really in the create-react-native-app doc (or I couldn't find it).

>All comments

Fixed. You have to run exp start or open the project in Expo XDE even if your project is detached/ejected. It is precised here but not really in the create-react-native-app doc (or I couldn't find it).

Was this page helpful?
0 / 5 - 0 ratings