{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/966","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/966/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/966/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/966/events","html_url":"https://github.com/wix/react-native-navigation/issues/966","id":218870313,"node_id":"MDU6SXNzdWUyMTg4NzAzMTM=","number":966,"title":"There is an error \"Module AppRegistry is not a registered callable module (calling runApplication)\" when reload js.","user":{"login":"jaggerwang","id":1255011,"node_id":"MDQ6VXNlcjEyNTUwMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1255011?v=4","gravatar_id":"","url":"https://api.github.com/users/jaggerwang","html_url":"https://github.com/jaggerwang","followers_url":"https://api.github.com/users/jaggerwang/followers","following_url":"https://api.github.com/users/jaggerwang/following{/other_user}","gists_url":"https://api.github.com/users/jaggerwang/gists{/gist_id}","starred_url":"https://api.github.com/users/jaggerwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaggerwang/subscriptions","organizations_url":"https://api.github.com/users/jaggerwang/orgs","repos_url":"https://api.github.com/users/jaggerwang/repos","events_url":"https://api.github.com/users/jaggerwang/events{/privacy}","received_events_url":"https://api.github.com/users/jaggerwang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2017-04-03T09:03:31Z","updated_at":"2018-09-26T08:03:59Z","closed_at":"2017-06-16T09:05:19Z","author_association":"NONE","body":"### Issue Description\r\n\r\nThere is an error \"Module AppRegistry is not a registered callable module (calling runApplication)\" when reload js. But it's ok when normal start app.\r\n\r\n### Steps to Reproduce / Code Snippets / Screenshots\r\n\r\n1. start app with `react-native run ios`\r\n1. reload js with `Command + R`\r\n\r\n---\r\n### Environment\r\n* React Native Navigation version: 2.0.0-experimental.266\r\n* React Native version: 0.42.3\r\n* Platform(s) (iOS, Android, or both?): iOS\r\n* Device info (Simulator/Device? OS version? Debug/Release?): iOS 9.3, iPhone 5s simulator\r\n"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/424623702","html_url":"https://github.com/wix/react-native-navigation/issues/966#issuecomment-424623702","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/966","id":424623702,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDYyMzcwMg==","user":{"login":"rottenoats","id":20781814,"node_id":"MDQ6VXNlcjIwNzgxODE0","avatar_url":"https://avatars2.githubusercontent.com/u/20781814?v=4","gravatar_id":"","url":"https://api.github.com/users/rottenoats","html_url":"https://github.com/rottenoats","followers_url":"https://api.github.com/users/rottenoats/followers","following_url":"https://api.github.com/users/rottenoats/following{/other_user}","gists_url":"https://api.github.com/users/rottenoats/gists{/gist_id}","starred_url":"https://api.github.com/users/rottenoats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rottenoats/subscriptions","organizations_url":"https://api.github.com/users/rottenoats/orgs","repos_url":"https://api.github.com/users/rottenoats/repos","events_url":"https://api.github.com/users/rottenoats/events{/privacy}","received_events_url":"https://api.github.com/users/rottenoats/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T08:03:59Z","updated_at":"2018-09-26T08:03:59Z","author_association":"NONE","body":"In my case, I was using mobx and mobx-react and I had forgotten to install a few babel plugins. Once they were installed, the error disappeared.\r\n\r\n```\r\n{\r\n  \"presets\": [\"module:metro-react-native-babel-preset\"],\r\n  \"plugins\": [\r\n    \"@babel/plugin-transform-runtime\",\r\n    [\r\n      \"@babel/plugin-proposal-decorators\",\r\n      {\r\n        \"legacy\": true\r\n      }\r\n    ],\r\n    \"transform-async-generator-functions\",\r\n    \"transform-class-properties\"\r\n  ]\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"rottenoats"}}