{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/1510","labels_url":"https://api.github.com/repos/facebook/react-native/issues/1510/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/1510/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/1510/events","html_url":"https://github.com/facebook/react-native/issues/1510","id":84958114,"number":1510,"title":"Embed React Native to existing app failed","user":{"login":"cincas","id":1229438,"avatar_url":"https://avatars.githubusercontent.com/u/1229438?v=3","gravatar_id":"","url":"https://api.github.com/users/cincas","html_url":"https://github.com/cincas","followers_url":"https://api.github.com/users/cincas/followers","following_url":"https://api.github.com/users/cincas/following{/other_user}","gists_url":"https://api.github.com/users/cincas/gists{/gist_id}","starred_url":"https://api.github.com/users/cincas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cincas/subscriptions","organizations_url":"https://api.github.com/users/cincas/orgs","repos_url":"https://api.github.com/users/cincas/repos","events_url":"https://api.github.com/users/cincas/events{/privacy}","received_events_url":"https://api.github.com/users/cincas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-04T07:19:11Z","updated_at":"2015-09-25T16:43:29Z","closed_at":"2015-06-04T08:53:48Z","body":"Hi everyone,\r\n\r\nWe're trying to use ReactNative as part of our app and I was going through the documentation recently.\r\n\r\nTried example project EmbeddedReactNative, works fine, but it is using 0.2.*\r\n\r\nTried to do same thing in latest version (0.4.4), keep getting error msg as following:\r\n```\r\n[error][tid:com.facebook.React.JavaScript] \"Error: \r\n stack: ModuleError@http://localhost:8081/index.ios.bundle:107:23\r\nrequire@http://localhost:8081/index.ios.bundle:204:28\r\napplyWithGuard@http://localhost:8081/index.ios.bundle:885:25\r\nrequire@http://localhost:8081/index.ios.bundle:196:39\r\n line: 204\r\n message: Requiring unknown module \"BatchedBridge\". If you are sure the module is there, try restarting the packager.\", {\"name\":\"ModuleError\",\"message\":\"Requiring unknown module \\\"BatchedBridge\\\". If you are sure the module is there, try restarting the packager.\",\"stack\":\"ModuleError@http://localhost:8081/index.ios.bundle:107:23\\nrequire@http://localhost:8081/index.ios.bundle:204:28\\napplyWithGuard@http://localhost:8081/index.ios.bundle:885:25\\nrequire@http://localhost:8081/index.ios.bundle:196:39\",\"framesToPop\":2,\"line\":204,\"column\":33,\"sourceURL\":\"http://localhost:8081/index.ios.bundle\"}\r\n```\r\n\r\nIs there any step I miss?\r\nMaybe it is worth to update the example project or documentation at here: http://facebook.github.io/react-native/docs/embedded-app.html#content\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/143273773","html_url":"https://github.com/facebook/react-native/issues/1510#issuecomment-143273773","issue_url":"https://api.github.com/repos/facebook/react-native/issues/1510","id":143273773,"user":{"login":"irfaan","id":1435018,"avatar_url":"https://avatars.githubusercontent.com/u/1435018?v=3","gravatar_id":"","url":"https://api.github.com/users/irfaan","html_url":"https://github.com/irfaan","followers_url":"https://api.github.com/users/irfaan/followers","following_url":"https://api.github.com/users/irfaan/following{/other_user}","gists_url":"https://api.github.com/users/irfaan/gists{/gist_id}","starred_url":"https://api.github.com/users/irfaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irfaan/subscriptions","organizations_url":"https://api.github.com/users/irfaan/orgs","repos_url":"https://api.github.com/users/irfaan/repos","events_url":"https://api.github.com/users/irfaan/events{/privacy}","received_events_url":"https://api.github.com/users/irfaan/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T16:43:29Z","updated_at":"2015-09-25T16:43:29Z","body":"Try quitting the packager and running your project again in xcode. It should start a new packager instance. IIRC, that was exactly what I had to do."}}