{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/2168","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/2168/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/2168/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/2168/events","html_url":"https://github.com/react-navigation/react-navigation/issues/2168","id":243497581,"node_id":"MDU6SXNzdWUyNDM0OTc1ODE=","number":2168,"title":"Example app can't run in Expo","user":{"login":"cooperka","id":2047062,"node_id":"MDQ6VXNlcjIwNDcwNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/2047062?v=4","gravatar_id":"","url":"https://api.github.com/users/cooperka","html_url":"https://github.com/cooperka","followers_url":"https://api.github.com/users/cooperka/followers","following_url":"https://api.github.com/users/cooperka/following{/other_user}","gists_url":"https://api.github.com/users/cooperka/gists{/gist_id}","starred_url":"https://api.github.com/users/cooperka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cooperka/subscriptions","organizations_url":"https://api.github.com/users/cooperka/orgs","repos_url":"https://api.github.com/users/cooperka/repos","events_url":"https://api.github.com/users/cooperka/events{/privacy}","received_events_url":"https://api.github.com/users/cooperka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-07-17T19:15:49Z","updated_at":"2018-09-26T15:30:42Z","closed_at":"2017-09-06T15:37:29Z","author_association":"CONTRIBUTOR","body":"### Current Behavior\r\n\r\nSetup:\r\n\r\n1. `npm install`\r\n2. `cd examples/NavigationPlayground/`\r\n3. `npm install`\r\n4. `exp start`\r\n5. Open the provided URL in the Expo app\r\n    - e.g. `exp://tg-zxx.cooperka.navigationplayground.exp.direct:80`\r\n\r\nAfter the above steps, I see a raw HTML error in Expo (**see a [plaintext version here](https://gist.github.com/cooperka/5840a46b9dd2e34c81da0c213d84cd7a)**, or click to enlarge):\r\n\r\n<div>\r\n<img src=\"https://user-images.githubusercontent.com/2047062/28285152-78f878f2-6ae8-11e7-9472-61ce83fb73b1.png\" width=200 />\r\n</div>\r\n\r\nMost notably:\r\n- `Failed to complete tunnel connection`\r\n- `successfully tunneled to your ngrok client, but the client failed to establish a connection to localhost:19001`\r\n- `The error encountered was: dial tcp [::1]:19001: getsockopt: connection refused`\r\n- `Warning: Not using the Expo fork of react-native` when running `exp start`, though this is common and not necessarily a problem\r\n- Lots of `@providesModule naming collision` when running the app, though this is common and not necessarily a problem\r\n\r\n### Expected Behavior\r\n\r\nThe example app should work.\r\n\r\nNote that the [Contributors Guide](https://github.com/react-community/react-navigation/blob/master/docs/guides/Contributors.md#development) is severely out of date, and there are numerous other open issues related to getting the example app running (most of them outdated now after the [recent upgrade to CRNA](https://github.com/react-community/react-navigation/compare/b19beda%5E...fff7ef4)):\r\n\r\n- https://github.com/react-community/react-navigation/issues/1754\r\n- https://github.com/react-community/react-navigation/issues/1708\r\n- https://github.com/react-community/react-navigation/issues/1629\r\n- https://github.com/react-community/react-navigation/issues/1609\r\n- https://github.com/react-community/react-navigation/issues/1457\r\n- https://github.com/react-community/react-navigation/issues/1325\r\n\r\nI'll happily submit a PR to clean this all up, if only I can get it working 😉\r\n\r\n### Environment\r\n\r\n| software         | version\r\n| ---------------- | -------\r\n| react-navigation |  Latest master cc22138b1927a006b6e2a29c2b3dd38da736a164\r\n| react-native     |  v0.43.4\r\n| node             | v6.11.1 (Boron LTS)\r\n| npm      | v3.10.10 (Boron LTS)\r\n| device | iOS simulator\r\n\r\nIt's even worse if I upgrade to node v8 and npm v5, so I'm sticking with LTS for now.\r\n\r\n### Notes\r\n\r\nI tried creating a new app using `create-react-native-app` and `exp start`, and that all works perfectly fine. It's just `NavigationPlayground` that's broken.\r\n\r\nThe [official NavigationPlayground Expo demo](https://expo.io/@react-navigation/NavigationPlayground) also still works; I just can't build it locally.\r\n\r\nDespite these issues, all Jest tests pass successfully on both the main library and the example app.\r\n\r\n### Proposed fix\r\n\r\nI have a WIP branch here where I'm trying to fix it: https://github.com/cribspot/react-navigation/commits/fix-example"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/424760277","html_url":"https://github.com/react-navigation/react-navigation/issues/2168#issuecomment-424760277","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/2168","id":424760277,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDc2MDI3Nw==","user":{"login":"pinchez254","id":39158826,"node_id":"MDQ6VXNlcjM5MTU4ODI2","avatar_url":"https://avatars1.githubusercontent.com/u/39158826?v=4","gravatar_id":"","url":"https://api.github.com/users/pinchez254","html_url":"https://github.com/pinchez254","followers_url":"https://api.github.com/users/pinchez254/followers","following_url":"https://api.github.com/users/pinchez254/following{/other_user}","gists_url":"https://api.github.com/users/pinchez254/gists{/gist_id}","starred_url":"https://api.github.com/users/pinchez254/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinchez254/subscriptions","organizations_url":"https://api.github.com/users/pinchez254/orgs","repos_url":"https://api.github.com/users/pinchez254/repos","events_url":"https://api.github.com/users/pinchez254/events{/privacy}","received_events_url":"https://api.github.com/users/pinchez254/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T15:30:42Z","updated_at":"2018-09-26T15:30:42Z","author_association":"NONE","body":"Try this  on your terminal :$~ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p\r\nthen :$~ npm i or yarn install  if you are using yarn\r\n"}}
{"actor":{"display_login":"pinchez254"}}