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

Expected JavaScript, but got content type 'application/javascript; chartset=UTF-8'. Check that your internet connection is working. #326

Closed
justinr1234 opened this issue Sep 4, 2017 · 48 comments

Comments

@justinr1234
Copy link
Contributor

Seeing this error on load:

https://github.com/expo/expo/blob/master/ios/Exponent/Api/EXJavaScriptResource.m#L142

I've tried everything short of reinstalling my OS. Changed node, changed watchman, global expo, used XDE, etc, etc, etc...

Anyone have ideas?

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Reinstalling OS shouldn't be needed. All more or less recent version of Node should be supported, no need to reinstall it. Wachman is not used by starter kit. Global Expo is not used by starter kit. XDE is not used by starter kit. Starter kit is self-contained. No need to reinstall something.

The problem seems due to implementation of mocking of React Native packager inside starter kit or inside Haul. The starter kit uses HTTP standard and sets
Content-Type: application/javascript; chartset=UTF-8
but I guess native Expo part can handle only (though this is violation of HTTP standard):
Content-Type: application/javascript

I will take a look.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Could you be more specific and provide reproduction steps and exact stack trace or screenshot of the error?

@justinr1234
Copy link
Contributor Author

@Vlasenko I think it's a red herring because the error messaging is complaining about the proper type. In code it usually checks MimeType, which doesn't include the optional charset portion like Content-Type does.

My reproduction steps are just pulling the project fresh and following the regular install steps for iOS only.

screen shot 2017-09-04 at 7 52 51 am

screen shot 2017-09-04 at 7 52 55 am

@justinr1234
Copy link
Contributor Author

0x6180001b8720> (parent: <ABI15_0_0RCTBridge: 0x6000000d4040>, executor: ABI15_0_0RCTJSCExecutor)
Sep 4 08:01:37 Justins-MBP Exponent[88409]: 2017-09-04 08:01:37.644 [warn][tid:NSOperationQueue 0x60800022ef80 :: NSOperation 0x6080002520c0 (QOS: DEFAULT)][ABI15_0_0RCTBatchedBridge.m:110] Failed to load source: Error Domain=RCTJavaScriptLoaderErrorDomain Code=3 "Could not connect to development server.

Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
- WiFi is enabled and connected to the same network as the Node Server

URL: http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles" UserInfo={NSUnderlyingError=0x608000258e40 {Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo={NSUnderlyingError=0x618000441560 {Error Domain=kCFErrorDomainCFNetwork Code=-1004 "(null)" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles, NSErrorFailingURLKey=http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61, NSLocalizedDescription=Could not connect to the server.}}, NSLocalizedDescription=Could not connect to development server.

Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
- WiFi is enabled and connected to the same network as the Node Server

URL: http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles, NSLocalizedFailureReason=Could not connect to the server.}

Sep 4 08:01:37 Justins-MBP Exponent[88409]: 2017-09-04 08:01:37.646 [fatal][tid:main] Could not connect to development server.

Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
- WiFi is enabled and connected to the same network as the Node Server

URL: http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles

Sep 4 08:01:38 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 347 Connection has no connected handler
Sep 4 08:01:40 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 348 Connection has no connected handler
Sep 4 08:01:43 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 349 Connection has no connected handler
Sep 4 08:01:45 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 350 Connection has no connected handler
Sep 4 08:01:47 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 351 Connection has no connected handler
Sep 4 08:01:49 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 352 Connection has no connected handler
Sep 4 08:01:51 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 353 Connection has no connected handler
Sep 4 08:01:54 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 354 Connection has no connected handler
Sep 4 08:01:56 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 355 Connection has no connected handler
Sep 4 08:01:58 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 356 Connection has no connected handler
Sep 4 08:02:00 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 357 Connection has no connected handler
Sep 4 08:02:02 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 358 Connection has no connected handler
Sep 4 08:02:05 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 359 Connection has no connected handler
Sep 4 08:02:05 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 323 Connection has no connected handler
Sep 4 08:02:07 Justins-MBP Exponent[88409]: [] nw_connection_get_connected_socket_block_invoke 360 Connection has no connected handler

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Could you check if removing ; charset=UTF-8 part from this file will solve the issue? https://github.com/sysgears/apollo-universal-starter-kit/blob/master/tools/middleware/liveReloadMiddleware.js

@justinr1234
Copy link
Contributor Author

@Vlasenko Thanks for the suggestion, much appreciated:

Tried removing that from everywhere in the entire project including there, as well as disabling the live reload middleware altogether and that didn't fix it. I really think it's a red herring in the way they are defaulting to their error message when they are using this error message function as a catch all.

@larixer larixer closed this as completed in a7af2d4 Sep 4, 2017
@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Thanks, your last log was helpful. This error message is misleading. The problem is due to our development server now is using LAN IP, but when we are starting iOS Simulator we are using localhost which is incorrect. Please try the latest code with commit above included

@justinr1234
Copy link
Contributor Author

@Vlasenko Appears to have same issue:

Sep 4 08:15:21 Justins-MBP CoreSimulatorBridge[89259]: Requesting installation of file:///Users/justin/.expo/ios-simulator-app-cache/Exponent-1.19.0.app/ with options: {
CFBundleIdentifier = "host.exp.Exponent";
Sep 4 08:15:21 Justins-MBP installd[89248]: 0x7000092ac000 -[MIClientConnection _doInstallationForURL:withOptions:completion:]: Install of "/Users/justin/.expo/ios-simulator-app-cache/Exponent-1.19.0.app" type Developer (LSInstallType = (null)) requested by lsd (pid 89269)
Sep 4 08:15:22 Justins-MBP installd[89248]: 0x7000092ac000 -[MIInstaller performInstallationWithError:]: Installing
Sep 4 08:15:22 Justins-MBP installd[89248]: 0x7000092ac000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for host.exp.Exponent at /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD
Sep 4 08:15:22 Justins-MBP installd[89248]: 0x7000092ac000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for host.exp.Exponent at /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Bundle/Application/3BBDA5F2-B380-4F9A-830F-0D47036BB447
Sep 4 08:15:28 Justins-MBP assertiond[89258]: Submitted job with label: UIKitApplication:host.exp.Exponent[0x777d][89258]
Sep 4 08:15:28 Justins-MBP SpringBoard[89253]: [host.exp.Exponent] Bootstrap complete with label: UIKitApplication:host.exp.Exponent[0x777d][89258]
Sep 4 08:15:28 Justins-MBP Exponent[89387]: objc[89387]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11b926cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11b73d6f0). One of the two will be used. Which one is undefined.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: assertion failed: 16G29 14E8301: libxpc.dylib + 64131 [624BAF4F-2E03-34F8-ACBA-970B04637786]: 0x7d
Sep 4 08:15:29 Justins-MBP Exponent[89387]: [Crashlytics] Version 3.8.5 (123)
Sep 4 08:15:29 Justins-MBP assertiond[89258]: client <BSProcessHandle: 0x7fd8aa007710; Exponent:89387; valid: YES> HWM increased to 1 because of <BKProcessAssertion: 0x7fd8a6f06d20; "io.answers.RecordEvent" (finishTask:180s); id:…89FB0B63A67B>
Sep 4 08:15:29 Justins-MBP assertiond[89258]: client <BSProcessHandle: 0x7fd8aa007710; Exponent:89387; valid: YES> HWM increased to 2 because of <BKProcessAssertion: 0x7fd8aa109da0; "io.answers.RecordEvent" (finishTask:180s); id:…B3D936BE39AA>
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:15:29 Justins-MBP assertiond[89258]: client <BSProcessHandle: 0x7fd8aa007710; Exponent:89387; valid: YES> HWM increased to 3 because of <BKProcessAssertion: 0x7fd8aa2078e0; "io.answers.RotateAndSubmit" (finishTask:180s); id:…3CC01D217E4D>
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Expo iOS Client Version 1.19.0.109294
Sep 4 08:15:29 Justins-MBP Exponent[89387]: EXCachedResource: Using cached resource at /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Bundle/Application/3BBDA5F2-B380-4F9A-830F-0D47036BB447/Exponent-1.19.0.app/kernel.ios.bundle...
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Failed to register for remote notifs: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not supported in the simulator}
Sep 4 08:15:29 Justins-MBP pasted[89276]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard fb_app_attribution
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Normal message received by listener connection. Ignoring.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Could not successfully update network info during initialization.
Sep 4 08:15:29 Justins-MBP pasted[89276]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard fb_app_attribution
Sep 4 08:15:29 Justins-MBP Exponent[89387]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/Sources/19.0.0-kernel.ios.bundle...
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Could not successfully update network info during initialization.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Normal message received by listener connection. Ignoring.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/Manifests/exp%3A%2F%2F192.168.1.2%3A19000%2Findex.exp%2F%2B.json...
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Normal message received by listener connection. Ignoring.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Could not successfully update network info during initialization.
Sep 4 08:15:29 Justins-MBP pasted[89276]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard com.apple.UIKit.pboard.general
Sep 4 08:15:29 Justins-MBP Exponent[89387]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/EXCachedResource/19.0.0-manifestPublicKey.pem...
Sep 4 08:15:29 Justins-MBP Exponent[89387]: EXCachedResource: Not using cache for manifestPublicKey
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Could not successfully update network info during initialization.
Sep 4 08:15:29 Justins-MBP Exponent[89387]: Normal message received by listener connection. Ignoring.
Sep 4 08:15:30 Justins-MBP Exponent[89387]: 2017-09-04 08:15:30.036 [info][tid:main][ABI15_0_0RCTBatchedBridge.m:72] Initializing <ABI15_0_0RCTBatchedBridge: 0x6080001a5940> (parent: <ABI15_0_0RCTBridge: 0x6080000d26e0>, executor: ABI15_0_0RCTJSCExecutor)
Sep 4 08:15:30 Justins-MBP Exponent[89387]: Normal message received by listener connection. Ignoring.
Sep 4 08:15:30 Justins-MBP Exponent[89387]: Could not successfully update network info during initialization.
Sep 4 08:15:30 Justins-MBP Exponent[89387]: *** ASL MESSAGE SIZE (9132145 bytes) EXCEEDED MAXIMIMUM SIZE (8192000 bytes) ***
Sep 4 08:15:30 Justins-MBP Exponent[89387]: 2017-09-04 08:15:30.475 [fatal][tid:main] Expected JavaScript, but got content type 'application/javascript; charset=UTF-8'. Check that your internet connection is working.
Sep 4 08:15:35 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 4 Connection has no connected handler
Sep 4 08:15:37 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 21 Connection has no connected handler
Sep 4 08:15:37 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 20 Connection has no connected handler
Sep 4 08:15:39 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 22 Connection has no connected handler
Sep 4 08:15:39 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 23 Connection has no connected handler
Sep 4 08:15:41 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 24 Connection has no connected handler
Sep 4 08:15:41 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 25 Connection has no connected handler
Sep 4 08:15:49 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 27 Connection has no connected handler
Sep 4 08:15:58 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 28 Connection has no connected handler
Sep 4 08:15:59 Justins-MBP Exponent[89387]: Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Sep 4 08:15:59 Justins-MBP Exponent[89387]: Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
Sep 4 08:16:04 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 30 Connection has no connected handler
Sep 4 08:16:11 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 31 Connection has no connected handler
Sep 4 08:16:20 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 32 Connection has no connected handler
Sep 4 08:16:28 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 33 Connection has no connected handler
Sep 4 08:16:36 Justins-MBP Exponent[89387]: [] nw_connection_get_connected_socket_block_invoke 34 Connection has no connected handler
Sep 4 08:19:10 Justins-MBP assertiond[89802]: Submitted job with label: UIKitApplication:host.exp.Exponent[0x966a][89802]
Sep 4 08:19:10 Justins-MBP SpringBoard[89797]: [host.exp.Exponent] Bootstrap complete with label: UIKitApplication:host.exp.Exponent[0x966a][89802]
Sep 4 08:19:10 Justins-MBP Exponent[89852]: objc[89852]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11fa26cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11f83d6f0). One of the two will be used. Which one is undefined.
Sep 4 08:19:10 Justins-MBP Exponent[89852]: assertion failed: 16G29 14E8301: libxpc.dylib + 64131 [624BAF4F-2E03-34F8-ACBA-970B04637786]: 0x7d
Sep 4 08:19:10 Justins-MBP Exponent[89852]: [Crashlytics] Version 3.8.5 (123)
Sep 4 08:19:10 Justins-MBP assertiond[89802]: client <BSProcessHandle: 0x7fcd4480e820; Exponent:89852; valid: YES> HWM increased to 1 because of <BKProcessAssertion: 0x7fcd44910180; "io.answers.RecordEvent" (finishTask:180s); id:…79860B0F729D>
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to loading access token from NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Falling back to storing access token in NSUserDefaults because of simulator bug
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Expo iOS Client Version 1.19.0.109294
Sep 4 08:19:10 Justins-MBP Exponent[89852]: EXCachedResource: Using cached resource at /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/Sources/19.0.0-kernel.ios.bundle...
Sep 4 08:19:10 Justins-MBP assertiond[89802]: client <BSProcessHandle: 0x7fcd4480e820; Exponent:89852; valid: YES> HWM increased to 2 because of <BKProcessAssertion: 0x7fcd42705c20; "io.answers.RecordEvent" (finishTask:180s); id:…8141AF8B31B9>
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Failed to register for remote notifs: Error Domain=NSCocoaErrorDomain Code=3010 "remote notifications are not supported in the simulator" UserInfo={NSLocalizedDescription=remote notifications are not supported in the simulator}
Sep 4 08:19:10 Justins-MBP pasted[89830]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard fb_app_attribution
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Normal message received by listener connection. Ignoring.
Sep 4 08:19:10 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:10 Justins-MBP pasted[89830]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard fb_app_attribution
Sep 4 08:19:10 Justins-MBP pasted[89830]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard fb_app_attribution
Sep 4 08:19:11 Justins-MBP assertiond[89802]: client <BSProcessHandle: 0x7fcd4480e820; Exponent:89852; valid: YES> HWM increased to 3 because of <BKProcessAssertion: 0x7fcd4480d420; "io.answers.RotateAndSubmit" (finishTask:180s); id:…C940CE5B56FC>
Sep 4 08:19:11 Justins-MBP Exponent[89852]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/Sources/19.0.0-kernel.ios.bundle...
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Normal message received by listener connection. Ignoring.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:11 Justins-MBP pasted[89830]: BundleID host.exp.Exponent from team C8D8QTF339 is requesting pasteboard com.apple.UIKit.pboard.general
Sep 4 08:19:11 Justins-MBP Exponent[89852]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/Manifests/exp%3A%2F%2F192.168.29.166%3A19000%2Findex.exp%2F%2B.json...
Sep 4 08:19:11 Justins-MBP Exponent[89852]: EXCachedResource: Using cached resource at /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/EXCachedResource/19.0.0-manifestPublicKey.pem...
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Normal message received by listener connection. Ignoring.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: EXCachedResource: Caching resource to /Users/justin/Library/Developer/CoreSimulator/Devices/F71A0E4D-02C5-45C1-9735-93F3AA161808/data/Containers/Data/Application/FBB844C9-2F29-402F-AD07-76A8239E8BCD/Library/Caches/EXCachedResource/19.0.0-manifestPublicKey.pem...
Sep 4 08:19:11 Justins-MBP Exponent[89852]: EXCachedResource: Not using cache for manifestPublicKey
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Normal message received by listener connection. Ignoring.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: 2017-09-04 08:19:11.686 [info][tid:main][ABI15_0_0RCTBatchedBridge.m:72] Initializing <ABI15_0_0RCTBatchedBridge: 0x6180003a4360> (parent: <ABI15_0_0RCTBridge: 0x6180002ca020>, executor: ABI15_0_0RCTJSCExecutor)
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Could not successfully update network info during initialization.
Sep 4 08:19:11 Justins-MBP Exponent[89852]: Normal message received by listener connection. Ignoring.
Sep 4 08:19:12 Justins-MBP Exponent[89852]: *** ASL MESSAGE SIZE (9252116 bytes) EXCEEDED MAXIMIMUM SIZE (8192000 bytes) ***
Sep 4 08:19:12 Justins-MBP Exponent[89852]: 2017-09-04 08:19:12.140 [fatal][tid:main] Expected JavaScript, but got content type 'application/javascript; charset=UTF-8'. Check that your internet connection is working.
Sep 4 08:19:41 Justins-MBP Exponent[89852]: Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Sep 4 08:19:41 Justins-MBP Exponent[89852]: Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
Sep 4 08:20:26 Justins-MBP Exponent[89852]: [] nw_connection_get_connected_socket_block_invoke 4 Connection has no connected handler

@mairh
Copy link
Member

mairh commented Sep 4, 2017

I just tested this issue and I can confirm I have started to see it too.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234, @mairh Okay, I'm looking more thoroughly

@justinr1234
Copy link
Contributor Author

Also another tidbit, I can access the regular web server in mobile safari and I also turned on the logging to verify I'm receiving the requests (aka my internet connection is working):

req: /assets//Users/justin/bv/apollo-universal-starter-kit/app.png
req: /index.mobile.bundle

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@mairh @justinr1234 If you downgrade to [email protected] and [email protected], do you still see these errors?

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@mairh @justinr1234 I'm suspecting that this problem was introduced with commit:
852b990
because right before this commit there was Ujjwal's Pull Request with upgrading deps, which you tested.

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

@Vlasenko Still fails ... after clearing all my temp folders and reinstalling everything and changing deps.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Please attach ~/.expo/log

@justinr1234
Copy link
Contributor Author

@Vlasenko Doesn't exist

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 It must exist. The file log within .expo directory in the root of your home folder

@mairh
Copy link
Member

mairh commented Sep 4, 2017

Here you go (running only iOS) - when running before the commit 852b990

{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:18:48.079Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:18:48.298Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T08:18:50.043Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:18:51.386Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:18:51.509Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:18:52.972Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T08:19:05.029Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T08:19:05.029Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":30,"tag":"device","deviceId":"EAFE8930-2977-413F-BFD3-D7F53D88DAA7","deviceName":"Ujjwal","groupDepth":0,"msg":"Running application \"main\" with appParams: {\"rootTag\":1,\"initialProps\":{\"exp\":{\"manifest\":{\"iconUrl\":\"http://localhost:3020/assets//Users/nish/Documents/code/EasyMedi/app.png\",\"id\":\"@anonymous/easymedi-baa8519e-7fa9-468c-87d1-14642142a8d8\",\"sdkVersion\":\"15.0.0\",\"version\":\"1.0.0\",\"packagerOpts\":{\"lanType\":\"ip\",\"strict\":false,\"minify\":false,\"urlRandomness\":null,\"hostType\":\"tunnel\",\"urlType\":\"exp\",\"dev\":true},\"ios\":{\"bundleIdentifier\":\"fi.easymedi.ios\"},\"mainModuleName\":\"index.mobile\",\"isVerified\":true,\"android\":{\"package\":\"fi.easymedi.android\"},\"xde\":true,\"icon\":\"/Users/nish/Documents/code/EasyMedi/app.png\",\"slug\":\"easymedi\",\"debuggerHost\":\"localhost:3020\",\"developer\":{\"tool\":\"crna\"},\"env\":{},\"bundleUrl\":\"http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles\",\"logUrl\":\"http://localhost:19001/logs\",\"name\":\"Easymedi\"},\"appOwnership\":\"expo\",\"initialUri\":\"exp://localhost:19001\",\"shell\":false}}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF","time":"2017-09-04T08:19:12.268Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:50:01.066Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:50:01.557Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:50:01.644Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T08:50:01.926Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:50:02.821Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:50:04.911Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:50:44.888Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:50:45.347Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:50:45.402Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:50:46.243Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:50:47.741Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:03:03.322Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:03:03.326Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:03:03.475Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:03:04.857Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:03:06.105Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:08:53.636Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:08:53.720Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:08:53.790Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:08:54.942Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:08:56.384Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:12:44.073Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:12:44.128Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:12:44.289Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:12:44.786Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:12:45.652Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:12:47.110Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:12:59.336Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:12:59.336Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:18:18.709Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:18:18.757Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:18:18.857Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T13:18:19.553Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:18:19.554Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:18:31.485Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19001 in iOS simulator","time":"2017-09-04T13:18:31.607Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:22:09.429Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:22:09.507Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:22:09.610Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:22:10.049Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19001 in iOS simulator","time":"2017-09-04T13:22:11.138Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://172.31.99.227:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:22:23.755Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:22:23.756Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31999,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:31:39.226Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31999,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T13:31:40.055Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32279,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:39:05.479Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32279,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19000 in iOS simulator","time":"2017-09-04T13:39:06.254Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32398,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:40:41.105Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32398,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19000 in iOS simulator","time":"2017-09-04T13:40:41.711Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:05:10.969Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T14:05:11.878Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T14:05:12.568Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19000`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T14:05:26.460Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T14:05:26.460Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33570,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:07:59.125Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33570,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T14:07:59.781Z","v":0}

When running with latest master

{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:18:48.079Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:18:48.298Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T08:18:50.043Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:18:51.386Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:18:51.509Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:18:52.972Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T08:19:05.029Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T08:19:05.029Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":23786,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":30,"tag":"device","deviceId":"EAFE8930-2977-413F-BFD3-D7F53D88DAA7","deviceName":"Ujjwal","groupDepth":0,"msg":"Running application \"main\" with appParams: {\"rootTag\":1,\"initialProps\":{\"exp\":{\"manifest\":{\"iconUrl\":\"http://localhost:3020/assets//Users/nish/Documents/code/EasyMedi/app.png\",\"id\":\"@anonymous/easymedi-baa8519e-7fa9-468c-87d1-14642142a8d8\",\"sdkVersion\":\"15.0.0\",\"version\":\"1.0.0\",\"packagerOpts\":{\"lanType\":\"ip\",\"strict\":false,\"minify\":false,\"urlRandomness\":null,\"hostType\":\"tunnel\",\"urlType\":\"exp\",\"dev\":true},\"ios\":{\"bundleIdentifier\":\"fi.easymedi.ios\"},\"mainModuleName\":\"index.mobile\",\"isVerified\":true,\"android\":{\"package\":\"fi.easymedi.android\"},\"xde\":true,\"icon\":\"/Users/nish/Documents/code/EasyMedi/app.png\",\"slug\":\"easymedi\",\"debuggerHost\":\"localhost:3020\",\"developer\":{\"tool\":\"crna\"},\"env\":{},\"bundleUrl\":\"http://localhost:3020/index.mobile.bundle?platform=ios&dev=true&strict=false&minify=false&hot=false&assetPlugin=exponent/tools/hashAssetFiles\",\"logUrl\":\"http://localhost:19001/logs\",\"name\":\"Easymedi\"},\"appOwnership\":\"expo\",\"initialUri\":\"exp://localhost:19001\",\"shell\":false}}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF","time":"2017-09-04T08:19:12.268Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:50:01.066Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:50:01.557Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:50:01.644Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T08:50:01.926Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:50:02.821Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25746,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:50:04.911Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T08:50:44.888Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T08:50:45.347Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T08:50:45.402Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T08:50:46.243Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":25900,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T08:50:47.741Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:03:03.322Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:03:03.326Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:03:03.475Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:03:04.857Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30281,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:03:06.105Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:08:53.636Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:08:53.720Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:08:53.790Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:08:54.942Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30557,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:08:56.384Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:12:44.073Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:12:44.128Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:12:44.289Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:12:44.786Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":30,"msg":"Opening exp://localhost:19001 in iOS simulator","time":"2017-09-04T13:12:45.652Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"notifications","level":40,"code":"OLD_IOS_APP_VERSION","msg":"This version of the Expo app is out of date. Uninstall the app and run again to upgrade.","time":"2017-09-04T13:12:47.110Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:12:59.336Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":30714,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:12:59.336Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:18:18.709Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:18:18.757Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:18:18.857Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T13:18:19.553Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:18:19.554Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:18:26.165Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:18:31.485Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31189,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19001 in iOS simulator","time":"2017-09-04T13:18:31.607Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19001","time":"2017-09-04T13:22:09.429Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"project","project":"/Users/nish/Documents/code/EasyMedi/.expo/android","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:22:09.507Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Couldn't start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:\nhttps://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select \"Use custom Android SDK tools\", and point it at your Android SDK directory.","time":"2017-09-04T13:22:09.610Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:22:10.049Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19001 in iOS simulator","time":"2017-09-04T13:22:11.138Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://172.31.99.227:19001`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:22:23.755Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31348,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:22:23.756Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31999,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:31:39.226Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":31999,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T13:31:40.055Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32279,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:39:05.479Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32279,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19000 in iOS simulator","time":"2017-09-04T13:39:06.254Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32398,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:40:41.105Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":32398,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19000 in iOS simulator","time":"2017-09-04T13:40:41.711Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:05:10.969Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T14:05:11.878Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T14:05:12.568Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":50,"msg":"Error running `xcrun simctl openurl booted exp://localhost:19000`: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T14:05:26.460Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33263,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T14:05:26.460Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33570,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:07:59.125Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33570,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T14:07:59.781Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33986,"type":"project","project":"/Users/nish/Documents/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:17:56.958Z","v":0}
{"name":"expo","hostname":"Ujjwals-MacBook-Pro-2.local","pid":33986,"type":"global","level":30,"msg":"Opening exp://172.31.99.227:19000 in iOS simulator","time":"2017-09-04T14:17:57.759Z","v":0}

@justinr1234
Copy link
Contributor Author

{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85132,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:01:30.781Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85132,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:01:31.520Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85196,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:02:34.546Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85196,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:02:35.222Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85263,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:03:59.979Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85263,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:04:00.686Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85467,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:11:38.544Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85467,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:11:39.279Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85543,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:12:14.888Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85543,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:12:15.612Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:20:31.446Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T00:20:32.392Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:20:32.393Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:20:32.802Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T00:20:32.802Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:20:32.802Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:20:39.879Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85771,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:20:39.984Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85954,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:23:55.324Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":85954,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:23:56.557Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86069,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:26:33.685Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86069,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:26:34.455Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86210,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:30:11.674Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86210,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:30:12.418Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:32:25.619Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T00:32:26.109Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T00:32:26.999Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:32:27.001Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:32:27.452Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T00:32:27.452Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:32:27.452Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":86303,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:32:42.318Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T00:39:41.773Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T00:39:42.388Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T00:39:43.181Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:39:43.182Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:39:44.042Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T00:39:44.042Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T00:39:44.042Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T00:39:58.333Z","v":0}
{"name":"expo","hostname":"Justins-MBP.attlocal.net","pid":88277,"type":"global","level":30,"msg":"Opening exp://localhost:19000 in iOS simulator","time":"2017-09-04T00:39:58.470Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89100,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:12:45.742Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89100,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:12:46.372Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89100,"type":"global","level":30,"msg":"Opening exp://192.168.1.2:19000 in iOS simulator","time":"2017-09-04T13:12:47.379Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89100,"type":"global","level":50,"msg":"Error running xcrun simctl openurl booted exp://192.168.1.2:19000: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:13:00.053Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89100,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:13:00.053Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"project","project":"/Users/justin/bv/ironworks/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:15:20.720Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T13:15:21.280Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:15:21.282Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:15:21.699Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T13:15:21.699Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:15:21.699Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:15:27.196Z","v":0}
{"name":"expo","hostname":"Justins-MBP","pid":89347,"type":"global","level":30,"msg":"Opening exp://192.168.1.2:19000 in iOS simulator","time":"2017-09-04T13:15:27.291Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":89741,"type":"project","project":"/Users/justin/bv/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:18:56.710Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":89741,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:18:57.113Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":89741,"type":"global","level":30,"msg":"Opening exp://192.168.29.166:19000 in iOS simulator","time":"2017-09-04T13:18:58.007Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":89741,"type":"global","level":50,"msg":"Error running xcrun simctl openurl booted exp://192.168.29.166:19000: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:19:10.460Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":89741,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:19:10.460Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90056,"type":"project","project":"/Users/justin/bv/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:25:53.100Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90056,"type":"global","level":30,"msg":"Opening exp://192.168.29.166:19000 in iOS simulator","time":"2017-09-04T13:25:53.670Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90126,"type":"project","project":"/Users/justin/bv/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:27:17.060Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90126,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:27:17.394Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90126,"type":"global","level":30,"msg":"Opening exp://192.168.29.166:19000 in iOS simulator","time":"2017-09-04T13:27:18.412Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90126,"type":"global","level":50,"msg":"Error running xcrun simctl openurl booted exp://192.168.29.166:19000: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):\nThe operation couldn’t be completed. Operation timed out\nOperation timed out\n","time":"2017-09-04T13:27:30.326Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90126,"type":"global","level":50,"msg":"Error installing or running app. Error: Process exited with non-zero code: 60","time":"2017-09-04T13:27:30.326Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"project","project":"/Users/justin/bv/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T13:53:46.198Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"global","level":30,"msg":"Opening iOS simulator","time":"2017-09-04T13:53:46.753Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T13:53:47.726Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T13:53:47.727Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T13:53:48.067Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T13:54:02.697Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90652,"type":"global","level":30,"msg":"Opening exp://192.168.29.166:19000 in iOS simulator","time":"2017-09-04T13:54:02.806Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"project","project":"/Users/justin/bv/apollo-universal-starter-kit/.expo/ios","level":20,"tag":"expo","msg":"Local server listening at http://:::19000","time":"2017-09-04T14:01:03.204Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"global","level":30,"msg":"Downloading latest version of Expo","time":"2017-09-04T14:01:03.795Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"notifications","level":30,"code":"START_LOADING","msg":"","time":"2017-09-04T14:01:03.795Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"global","level":30,"msg":"Installing Expo on iOS simulator","time":"2017-09-04T14:01:04.108Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"notifications","level":30,"code":"STOP_LOADING","msg":"","time":"2017-09-04T14:01:09.735Z","v":0}
{"name":"expo","hostname":"Justins-MBP.T-mobile.com","pid":90923,"type":"global","level":30,"msg":"Opening exp://192.168.29.166:19000 in iOS simulator","time":"2017-09-04T14:01:09.827Z","v":0}

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

@Vlasenko Maybe "downloading latest version of Expo"? Since they are on a newer version than 15.0

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 You can try. I have tested latest version of the kit on iOS and I don't have this issue

@justinr1234
Copy link
Contributor Author

What I'm saying is maybe the simulator and phone is launching the Expo App targeted for version 20.0 and we're running on 15.0 and so our bundle is incompatible with the latest app. I'm not quite sure how to update the starter to 20.0 Expo as I"m assuming we'd need to update all the libraries for the newer React Native.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 No, we cannot do it now. Since it means we need to upgrade to React 16, and not all deps we are using are ready for React 16.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Okay, I have selected 'Reset content and Settings' in the Simulator and restarted the kit. It downloaded the latest Expo Client version to the Simulator and now I see this error. So, yes, the problem is with incompatibility of the latest Expo version with the kit. I will try to fix the compatibility. If I will unable to do, there is still a way to fix this issue, we can downgrade to [email protected] and [email protected] and then 'Reset content and Settings' in the Simulator, then restart the kit - this will install previous version of native Expo Client to the Simulator

@justinr1234
Copy link
Contributor Author

I tried that including the reset and it still didn't work. I believe it is downloading the latest Expo App regardless of the version of xdl and exp. I believe it could be a problem in the Expo build tool if we can prove it always downloads the latest regardless of xdl and exp version.

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Okay, doesn't really matter. I think this is really a bug in Expo Client, which doesn't support charset in Content-Type, but I'm not really sure that guys at Exponent are going to fix it anytime soon. So I'm going to implement workaround for this bug. The Content-Type: application/javascript; chartset=UTF-8 is set inside webpack-dev-middleware, so I'm going to quickly implement proxy on top of webpack-dev-middleware today, to override it, so that the result was: Content-Type: application/javascript.

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

@Vlasenko Thanks for working on that, I hope that works. Fwiw I think this commit introduced the problem expo/expo@e6a3f99#diff-0e96160b8c1ac0b664b08ada4f2b2f12R89

This particular error code looks like it has nothing to do with the header and is just falling into that error code messaging generically. It looks like it falls into that error messaging on any error with RCTJavaScriptLoader

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Yes looks like this commit is the source of the problem. Btw, I have commited workaround for Content-Type and going to test it now

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 I think it is the header. At least it works for me now after the 4a6e7e0

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@mairh @justinr1234 Could you confirm is this error gone for you after the last commit?

@justinr1234
Copy link
Contributor Author

@Vlasenko still there

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 But the error cannot be the same. It should be different at least

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

I wonder if we can debug what status code is coming back?

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 It works for me. I don't understand how it started working for me now, but not for you

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Are you sure you have pulled in the latest source code of the kit? Do you see the code for patching Content-Type from the last commit in your source code?

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

Ok I wiped my ~/.expo and completely deleted and recloned the starter plus wiped my simulator and it appears to be fixed. Seeing a different error but it looks like the one in this issue is fixed. Thanks a ton for your hard work @Vlasenko

img_5993

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 This is because you forgot to do yarn seed

@justinr1234
Copy link
Contributor Author

All good now, it was because I accidentally had another console tab going. Was doing all this from my phone remotely ... Thanks again for your help!

@justinr1234
Copy link
Contributor Author

justinr1234 commented Sep 4, 2017

@Vlasenko I think it's a bug in the react native code, not in Expo actually: https://github.com/facebook/react-native/blob/master/React/Base/RCTJavaScriptLoader.mm#L276

Think I'll submit a PR to react-native to fix it, thanks again for working on this.

@justinr1234
Copy link
Contributor Author

@larixer
Copy link
Member

larixer commented Sep 4, 2017

@justinr1234 Yep, looks like you are right. Thank you for exploring this further!

@larixer larixer closed this as completed Sep 4, 2017
@mairh
Copy link
Member

mairh commented Sep 5, 2017

I can also confirm it is working with the latest master. However, I am facing the same problem with my fork after taking the latest changes from your last 2 commits.

@larixer
Copy link
Member

larixer commented Sep 5, 2017

@mairh Only this commit is relevant for solving the problem:
4a6e7e0
The first commit referenced in this issue is non-relevant.

If you still have the issue in your fork, check whether you applied the commit above correctly. Also check that getting http://localhost:3020/index.mobile.bundle has Content-Type without ; charset=UTF-8 in response headers

@mairh
Copy link
Member

mairh commented Sep 5, 2017

Yeah. What I mean is that I replaced the whole webpack.run file.

You mean index.mobile.bundle shouldn't contain ; charset=UTF-8 at all?

This is the output of the bundle https://gist.github.com/mairh/b7dc75073c05b042c1a4507c08f249c7

@larixer
Copy link
Member

larixer commented Sep 5, 2017

@mairh No, I mean response header Content-Type should not include ; charset=UTF-8 string

$ curl -s -I -X GET http://localhost:3020/index.mobile.bundle
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Type: application/javascript
Content-Length: 4220118
Access-Control-Allow-Origin: *
Vary: Accept-Encoding
Date: Tue, 05 Sep 2017 12:34:52 GMT
Connection: keep-alive

@mairh
Copy link
Member

mairh commented Sep 5, 2017

Ah on the network tab. I wonder why in my fork if I try to access http://localhost:3020/index.mobile.bundle it is serving the file as a downloadable format Content-Type:application/octet-stream, where as in the kit, I can open the file in the browser and the Content-Type is Content-Type: application/javascript

screen shot 2017-09-05 at 16 19 16

@justinr1234
Copy link
Contributor Author

@mairh That's what happened when I removed the mime setting here: https://github.com/sysgears/apollo-universal-starter-kit/blob/master/tools/webpack.run.js#L391

On my fork, I just returned back to the last working version and then did a git merge of the latest from this repo instead of rebasing. Not sure how you're merging changes, but rebasing caused big problems for me. Additionally I deleted my yarn.lock and regenerated it after merging everything.

@mairh
Copy link
Member

mairh commented Sep 5, 2017

ah....recreating yarn.lock did the trick for me. Thanks!

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