{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/21320","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/21320/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/21320/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/21320/events","html_url":"https://github.com/facebook/react-native/issues/21320","id":363655494,"node_id":"MDU6SXNzdWUzNjM2NTU0OTQ=","number":21320,"title":"upgrade to react native 0.57 throws error","user":{"login":"adirzoari","id":20258998,"node_id":"MDQ6VXNlcjIwMjU4OTk4","avatar_url":"https://avatars2.githubusercontent.com/u/20258998?v=4","gravatar_id":"","url":"https://api.github.com/users/adirzoari","html_url":"https://github.com/adirzoari","followers_url":"https://api.github.com/users/adirzoari/followers","following_url":"https://api.github.com/users/adirzoari/following{/other_user}","gists_url":"https://api.github.com/users/adirzoari/gists{/gist_id}","starred_url":"https://api.github.com/users/adirzoari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adirzoari/subscriptions","organizations_url":"https://api.github.com/users/adirzoari/orgs","repos_url":"https://api.github.com/users/adirzoari/repos","events_url":"https://api.github.com/users/adirzoari/events{/privacy}","received_events_url":"https://api.github.com/users/adirzoari/received_events","type":"User","site_admin":false},"labels":[{"id":1056201940,"node_id":"MDU6TGFiZWwxMDU2MjAxOTQw","url":"https://api.github.com/repos/facebook/react-native/labels/:question:Question","name":":question:Question","color":"ededed","default":false},{"id":337217254,"node_id":"MDU6TGFiZWwzMzcyMTcyNTQ=","url":"https://api.github.com/repos/facebook/react-native/labels/Ran%20Commands","name":"Ran Commands","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-25T16:05:12Z","updated_at":"2018-10-18T08:58:37Z","closed_at":"2018-09-25T19:05:15Z","author_association":"NONE","body":"\r\n## Environment\r\n```\r\n  React Native Environment Info:\r\n    System:\r\n      OS: Windows 10\r\n      CPU: x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz\r\n      Memory: 4.52 GB / 15.91 GB\r\n    Binaries:\r\n      Yarn: 1.5.1 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n      npm: 6.3.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n\r\n```\r\n\r\n## Description\r\nI upgraded from react-naitve 0.55.4 to react-native 0.57.0 and I get this error\r\n bundling failed: Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.\r\n\r\nmy package .json\r\n```\r\n`{\r\n  \"name\": \"APP_PROJECTXXX\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"node node_modules/react-native/local-cli/cli.js start\",\r\n    \"test\": \"jest\"\r\n  },\r\n  \"dependencies\": {\r\n    \"appcenter\": \"^1.8.1\",\r\n    \"appcenter-analytics\": \"^1.8.1\",\r\n    \"appcenter-crashes\": \"^1.8.1\",\r\n    \"lodash\": \"^4.17.10\",\r\n    \"mobx-react-navigation-store\": \"^1.4.4\",\r\n    \"moment\": \"^2.22.2\",\r\n    \"react\": \"16.5.0\",\r\n    \"react-native\": \"^0.57.0\",\r\n    \"react-native-config\": \"^0.11.5\",\r\n    \"react-native-confirmation-code-input\": \"^1.0.4\",\r\n    \"react-native-datepicker\": \"^1.7.2\",\r\n    \"react-native-device-info\": \"^0.22.5\",\r\n    \"react-native-iphone-x-helper\": \"^1.1.0\",\r\n    \"react-native-map-link\": \"^2.1.0\",\r\n    \"react-native-onesignal\": \"^3.2.6\",\r\n    \"react-native-vector-icons\": \"^5.0.0\",\r\n    \"react-navigation\": \"^1.0.0-beta.21\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-eslint\": \"^8.2.3\",\r\n    \"babel-jest\": \"22.4.3\",\r\n    \"babel-plugin-transform-decorators-legacy\": \"^1.3.4\",\r\n    \"babel-preset-react-native\": \"4.0.0\",\r\n    \"eslint\": \"^4.19.1\",\r\n    \"eslint-plugin-react\": \"^7.7.0\",\r\n    \"jest\": \"22.4.3\",\r\n    \"react-test-renderer\": \"16.3.1\"\r\n  },\r\n  \"jest\": {\r\n    \"preset\": \"react-native\",\r\n    \"setupFiles\": [\r\n      \"<rootDir>\\\\node_modules\\\\appcenter\\\\test\\\\AppCenterMock.js\",\r\n      \"<rootDir>\\\\node_modules\\\\appcenter-analytics\\\\test\\\\AppCenterAnalyticsMock.js\",\r\n      \"<rootDir>\\\\node_modules\\\\appcenter-crashes\\\\test\\\\AppCenterCrashesMock.js\"\r\n    ]\r\n  }\r\n}\r\n```\r\n`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/430931010","html_url":"https://github.com/facebook/react-native/issues/21320#issuecomment-430931010","issue_url":"https://api.github.com/repos/facebook/react-native/issues/21320","id":430931010,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDkzMTAxMA==","user":{"login":"adirzoari","id":20258998,"node_id":"MDQ6VXNlcjIwMjU4OTk4","avatar_url":"https://avatars2.githubusercontent.com/u/20258998?v=4","gravatar_id":"","url":"https://api.github.com/users/adirzoari","html_url":"https://github.com/adirzoari","followers_url":"https://api.github.com/users/adirzoari/followers","following_url":"https://api.github.com/users/adirzoari/following{/other_user}","gists_url":"https://api.github.com/users/adirzoari/gists{/gist_id}","starred_url":"https://api.github.com/users/adirzoari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adirzoari/subscriptions","organizations_url":"https://api.github.com/users/adirzoari/orgs","repos_url":"https://api.github.com/users/adirzoari/repos","events_url":"https://api.github.com/users/adirzoari/events{/privacy}","received_events_url":"https://api.github.com/users/adirzoari/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T08:58:37Z","updated_at":"2018-10-18T08:58:37Z","author_association":"NONE","body":"yes. my problem was that I removed node_modules and then installed with npm and not in yarn. so I deleted package_lock.json and install with yarn install\r\n"}}
{"actor":{"display_login":"adirzoari"}}