{"action":"created","issue":{"url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/72","labels_url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/72/comments","events_url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/72/events","html_url":"https://github.com/michaelcontento/redux-storage/issues/72","id":126643890,"number":72,"title":"ReactNative - JS load error","user":{"login":"latusaki","id":2336352,"avatar_url":"https://avatars.githubusercontent.com/u/2336352?v=3","gravatar_id":"","url":"https://api.github.com/users/latusaki","html_url":"https://github.com/latusaki","followers_url":"https://api.github.com/users/latusaki/followers","following_url":"https://api.github.com/users/latusaki/following{/other_user}","gists_url":"https://api.github.com/users/latusaki/gists{/gist_id}","starred_url":"https://api.github.com/users/latusaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latusaki/subscriptions","organizations_url":"https://api.github.com/users/latusaki/orgs","repos_url":"https://api.github.com/users/latusaki/repos","events_url":"https://api.github.com/users/latusaki/events{/privacy}","received_events_url":"https://api.github.com/users/latusaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T12:18:42Z","updated_at":"2016-01-19T11:27:08Z","closed_at":null,"body":"I have installed redux-storage using npm install and also made sure to rebuilt app etc.\r\n\r\nWhen I have the following line in my redux store, the JS fails to load:\r\n\r\n`import createEngine from 'redux-storage/engines/reactNativeAsyncStorage';`\r\n\r\nI tried emulator and physical device, and both give error: 'Unable to download JS bundle.Did you forget to start the dev server...' \r\n\r\nIf I take out that line and reload js,  the app works normally. This is with the folliowing dependencies:\r\n\r\n```\r\n  \"dependencies\": {\r\n    \"immutable\": \"=3.7.6\",\r\n    \"react\": \"=0.14.3\",\r\n    \"react-native\": \"=0.16.0\",\r\n    \"react-native-radio-buttons\": \"^0.8.0\",\r\n    \"react-redux\": \"=3.1.2\",\r\n    \"redux\": \"=3.0.5\",\r\n    \"redux-storage\": \"^1.4.3\",\r\n    \"underscore\": \"^1.8.3\"\r\n  },\r\n```\r\n\r\nAny suggestions of what might be causing this ?\r\n"},"comment":{"url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/comments/172822709","html_url":"https://github.com/michaelcontento/redux-storage/issues/72#issuecomment-172822709","issue_url":"https://api.github.com/repos/michaelcontento/redux-storage/issues/72","id":172822709,"user":{"login":"michaelcontento","id":280532,"avatar_url":"https://avatars.githubusercontent.com/u/280532?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcontento","html_url":"https://github.com/michaelcontento","followers_url":"https://api.github.com/users/michaelcontento/followers","following_url":"https://api.github.com/users/michaelcontento/following{/other_user}","gists_url":"https://api.github.com/users/michaelcontento/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcontento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcontento/subscriptions","organizations_url":"https://api.github.com/users/michaelcontento/orgs","repos_url":"https://api.github.com/users/michaelcontento/repos","events_url":"https://api.github.com/users/michaelcontento/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcontento/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T11:27:08Z","updated_at":"2016-01-19T11:27:08Z","body":"I'm unable to reproduce this error. But `Unable to download JS bundle.Did you forget to start the dev server..` sounds like `react-native` is unable to fetch the JS bundle from your local machine.\r\n\r\nIs the host/port configuration properly set and reachable? Or maybe the `react-native` packager has some problems with your setup? Can you spot anything in the output of the packager?"}}