{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/938","labels_url":"https://api.github.com/repos/facebook/react-native/issues/938/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/938/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/938/events","html_url":"https://github.com/facebook/react-native/issues/938","id":69716460,"number":938,"title":"Flow Type Errors Examples/UIExplorer","user":{"login":"chrisalexander55","id":1727612,"avatar_url":"https://avatars.githubusercontent.com/u/1727612?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisalexander55","html_url":"https://github.com/chrisalexander55","followers_url":"https://api.github.com/users/chrisalexander55/followers","following_url":"https://api.github.com/users/chrisalexander55/following{/other_user}","gists_url":"https://api.github.com/users/chrisalexander55/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisalexander55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisalexander55/subscriptions","organizations_url":"https://api.github.com/users/chrisalexander55/orgs","repos_url":"https://api.github.com/users/chrisalexander55/repos","events_url":"https://api.github.com/users/chrisalexander55/events{/privacy}","received_events_url":"https://api.github.com/users/chrisalexander55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-21T01:20:41Z","updated_at":"2015-04-25T14:29:42Z","closed_at":null,"body":"The examples directory generates Flow errors. Did I do anything wrong? Works on Mac I configured at work but not at home (same OSX version with installed updates). Also, I can't detect if any dependenc(ies) have been updated since arriving at home.\r\n\r\nHere is the screen cap:\r\n\r\n![screen shot 2015-04-20 at 9 14 42 pm](https://cloud.githubusercontent.com/assets/1727612/7243971/a55fe25c-e7a2-11e4-90f3-d9801c3a5045.png)\r\n\r\nAnd here is the Flow printf:\r\n\r\nflow: Running static typechecks.\r\nflow: Error running command `cd \"/Users/james/Projects/react-native\" && flow --json --timeout 20`:\r\n{\"status\":500,\"message\":\"Flow found type errors.  If you think these are wrong, make sure your flow bin and .flowconfig are up to date, or disable with --skipflow.\",\"type\":\"FlowError\",\"errors\":[{\"description\":\"E1: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/2048/Game2048.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E2: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/Movies/MovieCell.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E3: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/Movies/MovieScreen.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E4: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/Movies/MoviesApp.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E5: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/Movies/SearchScreen.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E6: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/Movies/getStyleFromScore.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E7: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/TicTacToe/TicTacToeApp.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E8: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ActionSheetIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E9: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ActivityIndicatorIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E10: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/AdSupportIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E11: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/AlertIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E12: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/AppStateIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E13: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/AsyncStorageExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E14: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/CameraRollExample.ios.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E15: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/CameraRollView.ios.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E16: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/DatePickerIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E17: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/GeolocationExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E18: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ImageCapInsetsExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E19: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ImageExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E20: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/LayoutExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E21: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ListViewExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E22: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ListViewPagingExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E23: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/MapViewExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E24: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/NavigatorIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E25: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/NetInfoExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E26: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/PanResponderExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E27: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/PickerIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E28: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/PointerEventsExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E29: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/PushNotificationIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E30: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ResponderExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E31: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ScrollViewExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E32: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/SliderIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E33: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/StatusBarIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E34: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/SwitchIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E35: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/TabBarIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E36: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/TextExample.ios.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E37: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/TextInputExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E38: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/TimerExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E39: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/TouchableExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E40: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/UIExplorerApp.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E41: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/UIExplorerBlock.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E42: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/UIExplorerList.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E43: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/UIExplorerPage.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E44: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/UIExplorerTitle.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E45: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/VibrationIOSExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E46: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/ViewExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E47: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/WebViewExample.js\",\"lineNumber\":0,\"column\":0},{\"description\":\"E48: \\nFailure(\\\"internal error: package /Users/james/Projects/node_modules/react-native/package.json not found\\\")\",\"filename\":\"/Users/james/Projects/react-native/Examples/UIExplorer/createExamplePage.js\",\"lineNumber\":0,\"column\":0}]}"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/96215545","html_url":"https://github.com/facebook/react-native/issues/938#issuecomment-96215545","issue_url":"https://api.github.com/repos/facebook/react-native/issues/938","id":96215545,"user":{"login":"davidpfahler","id":908242,"avatar_url":"https://avatars.githubusercontent.com/u/908242?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpfahler","html_url":"https://github.com/davidpfahler","followers_url":"https://api.github.com/users/davidpfahler/followers","following_url":"https://api.github.com/users/davidpfahler/following{/other_user}","gists_url":"https://api.github.com/users/davidpfahler/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpfahler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpfahler/subscriptions","organizations_url":"https://api.github.com/users/davidpfahler/orgs","repos_url":"https://api.github.com/users/davidpfahler/repos","events_url":"https://api.github.com/users/davidpfahler/events{/privacy}","received_events_url":"https://api.github.com/users/davidpfahler/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T14:29:42Z","updated_at":"2015-04-25T14:29:42Z","body":"I just installed `react-native-cli`, created a project with `react-native init` and updated brew and upgraded flow. `flow --version` says `0.10.0`. I get the following error when running `flow --json`:\r\n\r\n```\r\n{\"passed\":false,\"errors\":[{\"message\":[{\"descr\":\"undefined\\nThis type is incompatible with\",\"code\":0,\"path\":\"/Users/djpfahler/localhost/smile/node_modules/react-native/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js\",\"line\":70,\"endline\":70,\"start\":15,\"end\":34},{\"descr\":\"boolean\",\"code\":0,\"path\":\"/Users/djpfahler/localhost/smile/node_modules/react-native/Libraries/Components/TabBarIOS/TabBarItemIOS.ios.js\",\"line\":91,\"endline\":91,\"start\":62,\"end\":68}]},{\"message\":[{\"descr\":\"undefined\\nThis type is incompatible with\",\"code\":0,\"path\":\"/Users/djpfahler/localhost/smile/node_modules/react-native/Libraries/ReactIOS/ReactIOSMount.js\",\"line\":197,\"endline\":197,\"start\":7,\"end\":13},{\"descr\":\"boolean\",\"code\":0,\"path\":\"/Users/djpfahler/localhost/smile/node_modules/react-native/Libraries/ReactIOS/ReactIOSMount.js\",\"line\":194,\"endline\":194,\"start\":59,\"end\":62}]}],\"version\":\" Apr 25 2015 04:11:34\"}\r\n```"}}