{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/291","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/291/comments","events_url":"https://api.github.com/repos/expo/expo/issues/291/events","html_url":"https://github.com/expo/expo/issues/291","id":238005552,"number":291,"title":"After upgrading Expo, my project causes the iOS Expo Client to crash.","user":{"login":"MarcusHurney","id":13347886,"avatar_url":"https://avatars1.githubusercontent.com/u/13347886?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcusHurney","html_url":"https://github.com/MarcusHurney","followers_url":"https://api.github.com/users/MarcusHurney/followers","following_url":"https://api.github.com/users/MarcusHurney/following{/other_user}","gists_url":"https://api.github.com/users/MarcusHurney/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcusHurney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcusHurney/subscriptions","organizations_url":"https://api.github.com/users/MarcusHurney/orgs","repos_url":"https://api.github.com/users/MarcusHurney/repos","events_url":"https://api.github.com/users/MarcusHurney/events{/privacy}","received_events_url":"https://api.github.com/users/MarcusHurney/received_events","type":"User","site_admin":false},"labels":[{"id":598254265,"url":"https://api.github.com/repos/expo/expo/labels/Project:%20iOS","name":"Project: iOS","color":"5319e7","default":false},{"id":598164567,"url":"https://api.github.com/repos/expo/expo/labels/Status:%20Needs%20More%20Info","name":"Status: Needs More Info","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"terribleben","id":1316332,"avatar_url":"https://avatars0.githubusercontent.com/u/1316332?v=3","gravatar_id":"","url":"https://api.github.com/users/terribleben","html_url":"https://github.com/terribleben","followers_url":"https://api.github.com/users/terribleben/followers","following_url":"https://api.github.com/users/terribleben/following{/other_user}","gists_url":"https://api.github.com/users/terribleben/gists{/gist_id}","starred_url":"https://api.github.com/users/terribleben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terribleben/subscriptions","organizations_url":"https://api.github.com/users/terribleben/orgs","repos_url":"https://api.github.com/users/terribleben/repos","events_url":"https://api.github.com/users/terribleben/events{/privacy}","received_events_url":"https://api.github.com/users/terribleben/received_events","type":"User","site_admin":false},"assignees":[{"login":"terribleben","id":1316332,"avatar_url":"https://avatars0.githubusercontent.com/u/1316332?v=3","gravatar_id":"","url":"https://api.github.com/users/terribleben","html_url":"https://github.com/terribleben","followers_url":"https://api.github.com/users/terribleben/followers","following_url":"https://api.github.com/users/terribleben/following{/other_user}","gists_url":"https://api.github.com/users/terribleben/gists{/gist_id}","starred_url":"https://api.github.com/users/terribleben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terribleben/subscriptions","organizations_url":"https://api.github.com/users/terribleben/orgs","repos_url":"https://api.github.com/users/terribleben/repos","events_url":"https://api.github.com/users/terribleben/events{/privacy}","received_events_url":"https://api.github.com/users/terribleben/received_events","type":"User","site_admin":false}],"milestone":null,"comments":19,"created_at":"2017-06-22T23:59:41Z","updated_at":"2017-06-26T20:08:41Z","closed_at":null,"body":"My project was working fine with Expo in the iOS simulator but after I upgraded, I get an error screen that says \"there was a problem running expo\" with an error at the bottom saying \"Unhandled JS exception. Can't find variable: nil\"\r\n\r\nThere was never a problem like this before the upgrade."},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/311167646","html_url":"https://github.com/expo/expo/issues/291#issuecomment-311167646","issue_url":"https://api.github.com/repos/expo/expo/issues/291","id":311167646,"user":{"login":"a-shark","id":879737,"avatar_url":"https://avatars2.githubusercontent.com/u/879737?v=3","gravatar_id":"","url":"https://api.github.com/users/a-shark","html_url":"https://github.com/a-shark","followers_url":"https://api.github.com/users/a-shark/followers","following_url":"https://api.github.com/users/a-shark/following{/other_user}","gists_url":"https://api.github.com/users/a-shark/gists{/gist_id}","starred_url":"https://api.github.com/users/a-shark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-shark/subscriptions","organizations_url":"https://api.github.com/users/a-shark/orgs","repos_url":"https://api.github.com/users/a-shark/repos","events_url":"https://api.github.com/users/a-shark/events{/privacy}","received_events_url":"https://api.github.com/users/a-shark/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T20:08:41Z","updated_at":"2017-06-26T20:08:41Z","body":"Update: I tried making a new create-react-native-app project to see whether that crashed too, and it didn't. So I tried my app again in the simulator... and now it's fine. Then I tried my existing (broken) project in Expo on my phone, but _without_ first loading the new CRNA app, and that _still displayed the error_.\r\n\r\nDid the next obvious thing: loaded the new CRNA app on my phone via QR code. Worked. Tried mine again (all this without restarting the console/server for my app, without re-installing expo on my phone, and so on) and now it works. For some reason.\r\n\r\nLoading the new CRNA app seems to reset _whatever_ is wrong with my existing project. Note that re-installing expo on simulator and phone, re-setting simulator, _re-creating_ the simulated device entirely, various nuke-it-from-orbit operations on my NPM packages and cache, and so on, _all failed_ to fix the problem, even temporarily. I have _exactly_ no idea why this worked, or where the problem is/was."}}
{"actor":{"display_login":"a-shark"}}