{"action":"created","issue":{"url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/38","labels_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/38/comments","events_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/38/events","html_url":"https://github.com/jhabdas/react-native-webpack-starter-kit/issues/38","id":125857293,"number":38,"title":"Cannot start bundled iOs application","user":{"login":"michalpetrov","id":1407127,"avatar_url":"https://avatars.githubusercontent.com/u/1407127?v=3","gravatar_id":"","url":"https://api.github.com/users/michalpetrov","html_url":"https://github.com/michalpetrov","followers_url":"https://api.github.com/users/michalpetrov/followers","following_url":"https://api.github.com/users/michalpetrov/following{/other_user}","gists_url":"https://api.github.com/users/michalpetrov/gists{/gist_id}","starred_url":"https://api.github.com/users/michalpetrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalpetrov/subscriptions","organizations_url":"https://api.github.com/users/michalpetrov/orgs","repos_url":"https://api.github.com/users/michalpetrov/repos","events_url":"https://api.github.com/users/michalpetrov/events{/privacy}","received_events_url":"https://api.github.com/users/michalpetrov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-11T00:52:39Z","updated_at":"2016-01-11T14:06:24Z","closed_at":null,"body":"I have done following:\r\n1. clone\r\n2. npm i\r\n3. npm start\r\n4. open xcode a started app in simulator \r\nApplication started\r\n\r\nThen i wanted to test the bundling, so i have done folowing:\r\n1. uncommented option 2 (jsCodeLocation) in AppDelegate.m\r\n2. npm run bundle\r\n3. started the application in simulator again\r\nThis errors were logged in xcode console and application:\r\n[warn][tid:com.facebook.React.JavaScript] Requiring unknown module \"react-native-webpack-server/_entry/index.ios.js\"\r\n[error][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: Requiring unknown module \"react-native-webpack-server/_entry/index.ios.js\"\r\n[error][tid:main] ReferenceError: Can't find variable: __DEV__"},"comment":{"url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/comments/170559868","html_url":"https://github.com/jhabdas/react-native-webpack-starter-kit/issues/38#issuecomment-170559868","issue_url":"https://api.github.com/repos/jhabdas/react-native-webpack-starter-kit/issues/38","id":170559868,"user":{"login":"jhabdas","id":440298,"avatar_url":"https://avatars.githubusercontent.com/u/440298?v=3","gravatar_id":"","url":"https://api.github.com/users/jhabdas","html_url":"https://github.com/jhabdas","followers_url":"https://api.github.com/users/jhabdas/followers","following_url":"https://api.github.com/users/jhabdas/following{/other_user}","gists_url":"https://api.github.com/users/jhabdas/gists{/gist_id}","starred_url":"https://api.github.com/users/jhabdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhabdas/subscriptions","organizations_url":"https://api.github.com/users/jhabdas/orgs","repos_url":"https://api.github.com/users/jhabdas/repos","events_url":"https://api.github.com/users/jhabdas/events{/privacy}","received_events_url":"https://api.github.com/users/jhabdas/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T14:06:24Z","updated_at":"2016-01-11T14:06:24Z","body":"It is 17. And its modified to pull some RN build stuff. Please hit the chat\nroom linked from the README if you can. Looks like someone else is having\ndifficulty too, and just opened another environment issue. Please let us\nknow what you find out.\nOn Mon, Jan 11, 2016 at 2:07 AM michalpetrov <notifications@github.com>\nwrote:\n\n> I tried again on a clean enviroment (El Capitan).\n> Installed everything according react-native \"Getting started\".\n> Generate empty application (AwesomeProject), uncommented local bundle\n> loading in AppDelegate.m and everything has run as expected.\n> Then I cloned this repo, run npm i, npm up, npm start .... run\n> application in simulator ... OK.\n> Then npm run bundle, edited AppDelegate.m, started in simulator and again\n> the same error.\n>\n> I noticed that AppDelegate.m in this repo is different (older) than the\n> one created by react-native init. May it be version 0.17 vs 0.18 ?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jhabdas/react-native-webpack-starter-kit/issues/38#issuecomment-170459745>\n> .\n>\n"}}