Skip to content

Instantly share code, notes, and snippets.

@cooperka
Last active July 17, 2017 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cooperka/5840a46b9dd2e34c81da0c213d84cd7a to your computer and use it in GitHub Desktop.
Save cooperka/5840a46b9dd2e34c81da0c213d84cd7a to your computer and use it in GitHub Desktop.
Expo error trying to run the react-navigation NavigationPlayground example app
<!doctype html5>
<html>
<head>
<style type="text/css">
strong { font-weight: bold; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; }
a { background-color: transparent; }
a:active, a:hover { outline: 0; }
</style>
<style type="text/css">
body { background-color: #f5f5f5; }
.container { width: 500px; margin: auto; color: #444; padding: 5px; }
a, strong { color: purple; text-decoration: none; }
a:hover { text-decoration: underline; }
h2 { text-align: center; color: #000; }
p { line-height: 20px; }
</style>
</head>
<body>
<div class="container">
<h2>Failed to complete tunnel connection</h2>
<hr />
<p>
The connection to <strong><a href="http://packager.tg-zxx.cooperka.navigationplayground.exp.direct">http://packager.tg-zxx.cooperka.navigationplayground.exp.direct</a></strong>
was successfully tunneled to your ngrok client,
but the client failed to establish a connection to
the local address <strong><a href="http://localhost:19001">localhost:19001</a></strong>.
</p>
<p>
Make sure that a web service is running on
<strong><a href="http://localhost:19001">localhost:19001</a></strong> and that it is a valid address.
</p>
<p>
The error encountered was: <strong style="color: #9E2929">dial tcp [::1]:19001: getsockopt: connection refused</strong>
</p>
</div>
</body>
</html>
ABI16_0_0RCTFatal
-[ABI16_0_0RCTBatchedBridge stopLoadingWithError:]
__34-[ABI16_0_0RCTBatchedBridge start]_block_invoke_2
_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
0x0
➜ NavigationPlayground git:(master) exp start
[exp] Making sure project is set up correctly...
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
[exp] Your project looks good!
[exp] Using project at /Users/me/react-navigation/examples/NavigationPlayground
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
[exp] Starting React Native packager...
[exp] Running packager on port 19001
[exp] Loading dependency graph.
[exp] React packager ready.
[exp] jest-haste-map: @providesModule naming collision:
[exp] Duplicate module name: shallowEqual
[exp] Paths: /Users/me/react-navigation/lib-rn/utils/shallowEqual.js collides with /Users/me/react-navigation/lib/utils/shallowEqual.js
[exp]
[exp] This warning is caused by a @providesModule declaration with the same name across two different files.
[exp] jest-haste-map: @providesModule naming collision:
[exp] Duplicate module name: invariant
[exp] Paths: /Users/me/react-navigation/lib-rn/utils/invariant.js collides with /Users/me/react-navigation/lib/utils/invariant.js
[exp]
[exp] This warning is caused by a @providesModule declaration with the same name across two different files.
[exp] jest-haste-map: @providesModule naming collision:
[exp] Duplicate module name: shallowEqual
[exp] Paths: /Users/me/react-navigation/lib/utils/shallowEqual.js collides with /Users/me/react-navigation/lib-rn/utils/shallowEqual.js
[exp]
[exp] This warning is caused by a @providesModule declaration with the same name across two different files.
[exp] jest-haste-map: @providesModule naming collision:
[exp] Duplicate module name: invariant
[exp] Paths: /Users/me/react-navigation/lib/utils/invariant.js collides with /Users/me/react-navigation/lib-rn/utils/invariant.js
[exp]
[exp] This warning is caused by a @providesModule declaration with the same name across two different files.
[exp] Expo is ready.
[exp] You can scan this QR code:
...
[exp] Your URL is
exp://tg-zxx.cooperka.navigationplayground.exp.direct:80
[exp] Logs for your project will appear below. Press Ctrl+C to exit.
[exp] Failed to build DependencyGraph: @providesModule naming collision:
[exp] Duplicate module name: shallowEqual
[exp] Paths: /Users/me/react-navigation/lib-rn/utils/shallowEqual.js collides with /Users/me/react-navigation/src/utils/shallowEqual.js
[exp]
[exp] This error is caused by a @providesModule declaration with the same name across two different files.
[exp] Error: @providesModule naming collision:
[exp] Duplicate module name: shallowEqual
[exp] Paths: /Users/me/react-navigation/lib-rn/utils/shallowEqual.js collides with /Users/me/react-navigation/src/utils/shallowEqual.js
[exp]
[exp] This error is caused by a @providesModule declaration with the same name across two different files.
[exp] at HasteMap._updateHasteMap (/Users/me/react-navigation/examples/NavigationPlayground/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:159:13)
[exp] at module.getName.then.name (/Users/me/react-navigation/examples/NavigationPlayground/node_modules/react-native/packager/src/node-haste/DependencyGraph/HasteMap.js:120:31)
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment