{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/22863","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/22863/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/22863/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/22863/events","html_url":"https://github.com/facebook/react-native/issues/22863","id":395796855,"node_id":"MDU6SXNzdWUzOTU3OTY4NTU=","number":22863,"title":"react-devtools 3.5.0 breaks new project","user":{"login":"sunnylqm","id":615282,"node_id":"MDQ6VXNlcjYxNTI4Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/615282?v=4","gravatar_id":"","url":"https://api.github.com/users/sunnylqm","html_url":"https://github.com/sunnylqm","followers_url":"https://api.github.com/users/sunnylqm/followers","following_url":"https://api.github.com/users/sunnylqm/following{/other_user}","gists_url":"https://api.github.com/users/sunnylqm/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnylqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnylqm/subscriptions","organizations_url":"https://api.github.com/users/sunnylqm/orgs","repos_url":"https://api.github.com/users/sunnylqm/repos","events_url":"https://api.github.com/users/sunnylqm/events{/privacy}","received_events_url":"https://api.github.com/users/sunnylqm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":54,"created_at":"2019-01-04T03:17:28Z","updated_at":"2019-01-04T16:06:00Z","closed_at":"2019-01-04T16:06:00Z","author_association":"CONTRIBUTOR","body":"<img width=\"379\" alt=\"devtool\" src=\"https://user-images.githubusercontent.com/615282/50672252-f573b480-1011-11e9-9ff4-565bedd997db.png\">\r\n\r\n`reactDevTools.connectToDevTools is not a function`\r\n\r\n```bash\r\n## Environment\r\n  React Native Environment Info:\r\n    System:\r\n      OS: macOS High Sierra 10.13.6\r\n      CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz\r\n      Memory: 833.36 MB / 16.00 GB\r\n      Shell: 5.3 - /bin/zsh\r\n    Binaries:\r\n      Node: 8.15.0 - /usr/local/bin/node\r\n      Yarn: 1.12.3 - /usr/local/bin/yarn\r\n      npm: 6.4.1 - /usr/local/bin/npm\r\n      Watchman: 4.9.0 - /usr/local/bin/watchman\r\n    SDKs:\r\n      iOS SDK:\r\n        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1\r\n      Android SDK:\r\n        API Levels: 22, 23, 24, 25, 26, 27, 28\r\n        Build Tools: 23.0.1, 23.0.2, 23.0.3, 24.0.1, 25.0.0, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.2\r\n        System Images: android-25 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64\r\n    IDEs:\r\n      Android Studio: 3.1 AI-173.4907809\r\n      Xcode: 10.1/10B61 - /usr/bin/xcodebuild\r\n    npmPackages:\r\n      react: 16.6.3 => 16.6.3\r\n      react-native: 0.57.8 => 0.57.8\r\n    npmGlobalPackages:\r\n      react-native-cli: 2.0.1\r\n      react-native-create-library: 3.1.2\r\n      react-native-debugger-open: 0.3.17\r\n      react-native-git-upgrade: 0.2.7\r\n      react-native-update-cli: 0.1.0\r\n```\r\n\r\n## Description\r\n\r\n## Reproducible Demo\r\n\r\nJust init a new project and you'll hit this issue\r\n\r\n## Workaround\r\n\r\nPut the following in your `package.json` and run `yarn` (not npm, which does not support \"resolutions\") to force install the previous version:\r\n\r\n```json\r\n  \"resolutions\": {\r\n    \"react-devtools-core\": \"3.4.3\"\r\n  }\r\n```\r\n\r\nThen close the current packager window, run `yarn start --reset-cache`.\r\n\r\nSince the compiled js file changed a lot and we actually got an empty object in setupDevtools.js, so I suspect that something went wrong with build configuration, maybe related to https://github.com/facebook/react-devtools/commit/28d36a228de7ff8d72665f3c6a1b8f11ad7e94b6\r\n\r\ncc  @bvaughn  @kelset @hramos \r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/451486715","html_url":"https://github.com/facebook/react-native/issues/22863#issuecomment-451486715","issue_url":"https://api.github.com/repos/facebook/react-native/issues/22863","id":451486715,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTQ4NjcxNQ==","user":{"login":"bvaughn","id":29597,"node_id":"MDQ6VXNlcjI5NTk3","avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T16:06:00Z","updated_at":"2019-01-04T16:06:00Z","author_association":"CONTRIBUTOR","body":"I'm going to mark this issue as closed for now then. Let's re-open if others are still experiencing problems!"}}
{"actor":{"display_login":"bvaughn"}}