{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/watchman/issues/479","repository_url":"https://api.github.com/repos/facebook/watchman","labels_url":"https://api.github.com/repos/facebook/watchman/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/facebook/watchman/issues/479/comments","events_url":"https://api.github.com/repos/facebook/watchman/issues/479/events","html_url":"https://github.com/facebook/watchman/issues/479","id":233470090,"number":479,"title":"Watchman doesn't work with react-native anymore","user":{"login":"mlabrum","id":296106,"avatar_url":"https://avatars2.githubusercontent.com/u/296106?v=4","gravatar_id":"","url":"https://api.github.com/users/mlabrum","html_url":"https://github.com/mlabrum","followers_url":"https://api.github.com/users/mlabrum/followers","following_url":"https://api.github.com/users/mlabrum/following{/other_user}","gists_url":"https://api.github.com/users/mlabrum/gists{/gist_id}","starred_url":"https://api.github.com/users/mlabrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlabrum/subscriptions","organizations_url":"https://api.github.com/users/mlabrum/orgs","repos_url":"https://api.github.com/users/mlabrum/repos","events_url":"https://api.github.com/users/mlabrum/events{/privacy}","received_events_url":"https://api.github.com/users/mlabrum/received_events","type":"User","site_admin":false},"labels":[{"id":618449270,"url":"https://api.github.com/repos/facebook/watchman/labels/windows","name":"windows","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2017-06-05T00:19:48Z","updated_at":"2018-03-14T18:41:16Z","closed_at":"2017-08-14T17:10:23Z","author_association":"NONE","body":"Hey,\r\n\r\nI've grabbed the latest watchman from https://ci.appveyor.com/api/projects/wez/watchman/artifacts/watchman.zip?branch=master&job=Environment:+WATCHMAN_WIN7_COMPAT%3D\r\n\r\nReact-native version: 0.44.2 (latest)\r\nWindows 10\r\n\r\nRunning react-native with `react-native start`\r\n```\r\nLooking for JS files in\r\n   C:\\tmp\\test\\test\r\n\r\n\r\nReact packager ready.\r\n\r\nLoading dependency graph, done.\r\nerror: bundling: Error\r\n    at DependencyGraph._getAbsolutePath (C:/tmp/test/test/node_modules/react-native/packager/src/node-haste/index.js:272:11)\r\n    at DependencyGraph.getDependencies (C:/tmp/test/test/node_modules/react-native/packager/src/node-haste/index.js:216:26)\r\n    at Resolver.getDependencies (C:/tmp/test/test/node_modules/react-native/packager/src/Resolver/index.js:106:27)\r\n    at _resolverPromise.then.resolver (C:/tmp/test/test/node_modules/react-native/packager/src/Bundler/index.js:561:62)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7)\r\nBundling `index.android.js`  0.0% (0/1), failed.\r\n```\r\nReact native on device gives the following error\r\n`Cannot find entry file index.android.js in any of the roots [\"c:/tmp/test/test/\"]`\r\n\r\nWatchman logs\r\n```\r\n2017-06-05T09:27:39,625: [listener] Watchman 4.9.0 <no build info set> starting up on NTCSRF206\r\n2017-06-05T09:27:39,632: [listener] failed to parse json from C:\\Users\\Matt\\AppData\\Local\\Temp/Matt-state/state: unable to open C:\\Users\\Matt\\AppData\\Local\\Temp/Matt-state/state: No such file or directory\r\n2017-06-05T09:27:39,632: [listener] waiting for pipe clients on \\\\.\\pipe\\watchman-Matt\r\n2017-06-05T09:27:39,656: [client=000001D8D9454810:stm=000001D8D9452770:pid=0] path C:/tmp/test/test is on filesystem type NTFS\r\n2017-06-05T09:27:39,658: [client=000001D8D9454810:stm=000001D8D9452770:pid=0] root C:/tmp/test/test using watcher mechanism win32 (auto was requested)\r\n2017-06-05T09:27:41,398: [client=000001D8D9454810:stm=000001D8D9452770:pid=0] PERF: {\"start_time\": 1496620659.6559999, \"version\": \"4.9.0\", \"description\": \"dispatch_command:watch-project\", \"meta\": {\"root\": {\"path\": \"C:/tmp/test/test\", \"watcher\": \"win32\", \"ticks\": 1, \"recrawl_count\": 0, \"case_sensitive\": false, \"number\": 1}, \"args\": [\"watch-project\", \"C:/tmp/test/test\"], \"client\": {\"pid\": 0}}, \"pid\": 12892, \"elapsed_time\": 1.742}\r\n2017-06-05T09:27:41,398: [io 000001D8D946DC10 C:/tmp/test/test] crawl complete\r\n2017-06-05T09:27:41,398: [io 000001D8D946DC10 C:/tmp/test/test] PERF: {\"start_time\": 1496620659.6689999, \"version\": \"4.9.0\", \"description\": \"full-crawl\", \"meta\": {\"root\": {\"path\": \"C:/tmp/test/test\", \"watcher\": \"win32\", \"ticks\": 2, \"recrawl_count\": 0, \"case_sensitive\": false, \"number\": 1}}, \"pid\": 12892, \"elapsed_time\": 1.7290000000000001}\r\n```\r\n\r\nI can confirm watchman 4.7.0 worked (though it had the symlink issue on windows)\r\n\r\n\r\nThanks,\r\nI'm currently digging through RN code trying to see if I can find anything...\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/watchman/issues/comments/373132091","html_url":"https://github.com/facebook/watchman/issues/479#issuecomment-373132091","issue_url":"https://api.github.com/repos/facebook/watchman/issues/479","id":373132091,"user":{"login":"chidionuekwusi","id":5664697,"avatar_url":"https://avatars0.githubusercontent.com/u/5664697?v=4","gravatar_id":"","url":"https://api.github.com/users/chidionuekwusi","html_url":"https://github.com/chidionuekwusi","followers_url":"https://api.github.com/users/chidionuekwusi/followers","following_url":"https://api.github.com/users/chidionuekwusi/following{/other_user}","gists_url":"https://api.github.com/users/chidionuekwusi/gists{/gist_id}","starred_url":"https://api.github.com/users/chidionuekwusi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chidionuekwusi/subscriptions","organizations_url":"https://api.github.com/users/chidionuekwusi/orgs","repos_url":"https://api.github.com/users/chidionuekwusi/repos","events_url":"https://api.github.com/users/chidionuekwusi/events{/privacy}","received_events_url":"https://api.github.com/users/chidionuekwusi/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T18:41:16Z","updated_at":"2018-03-14T18:41:16Z","author_association":"NONE","body":"Same here."}}
{"actor":{"display_login":"chidionuekwusi"}}