{"action":"created","issue":{"url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/17","repository_url":"https://api.github.com/repos/gadicc/meteor-react-hotloader","labels_url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/17/comments","events_url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/17/events","html_url":"https://github.com/gadicc/meteor-react-hotloader/issues/17","id":144319759,"number":17,"title":"How to make this package work with Flow Router SSR?","user":{"login":"sammkj","id":9153498,"avatar_url":"https://avatars.githubusercontent.com/u/9153498?v=3","gravatar_id":"","url":"https://api.github.com/users/sammkj","html_url":"https://github.com/sammkj","followers_url":"https://api.github.com/users/sammkj/followers","following_url":"https://api.github.com/users/sammkj/following{/other_user}","gists_url":"https://api.github.com/users/sammkj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammkj/subscriptions","organizations_url":"https://api.github.com/users/sammkj/orgs","repos_url":"https://api.github.com/users/sammkj/repos","events_url":"https://api.github.com/users/sammkj/events{/privacy}","received_events_url":"https://api.github.com/users/sammkj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-29T16:38:16Z","updated_at":"2016-04-02T09:17:31Z","closed_at":null,"body":"I keep getting this error when I do `meteor`  with FlowRouter SSR:\r\n\r\n```\r\n\t\t\t\t\tthrow(ex);\r\nW20160329-11:21:04.996(-5)? (STDERR) \t\t\t\t\t\t      ^\r\nW20160329-11:21:05.030(-5)? (STDERR) Error: locals[0] does not appear to be a `module` object with Hot Module replacement API enabled. You should disable react-transform-hmr in production by using `env` section in Babel configuration. See the example in README: https://github.com/gaearon/react-transform-hmr\r\n```\r\n\r\nI had to do `meteor --production`  or explicitly set `BABEL_ENV=production meteor` to make the error go away. The problem is if I do this, I don't get instant react update. Any pointers to fix this would be greatly appreciated!"},"comment":{"url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/comments/204679106","html_url":"https://github.com/gadicc/meteor-react-hotloader/issues/17#issuecomment-204679106","issue_url":"https://api.github.com/repos/gadicc/meteor-react-hotloader/issues/17","id":204679106,"user":{"login":"gadicc","id":381978,"avatar_url":"https://avatars.githubusercontent.com/u/381978?v=3","gravatar_id":"","url":"https://api.github.com/users/gadicc","html_url":"https://github.com/gadicc","followers_url":"https://api.github.com/users/gadicc/followers","following_url":"https://api.github.com/users/gadicc/following{/other_user}","gists_url":"https://api.github.com/users/gadicc/gists{/gist_id}","starred_url":"https://api.github.com/users/gadicc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gadicc/subscriptions","organizations_url":"https://api.github.com/users/gadicc/orgs","repos_url":"https://api.github.com/users/gadicc/repos","events_url":"https://api.github.com/users/gadicc/events{/privacy}","received_events_url":"https://api.github.com/users/gadicc/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T09:17:31Z","updated_at":"2016-04-02T09:17:31Z","body":"I think this should be working now, can you check when you have a chance?\r\n\r\nSince `gadicc:ecmascript-hot@1.3.0_5` (just remove the @version and meteor update now)."}}