{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/2941","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/2941/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/2941/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/2941/events","html_url":"https://github.com/facebook/react-native/issues/2941","id":107760031,"number":2941,"title":"watchman : unknown option --no-pretty error while npm start","user":{"login":"sreejith-m-sreedharan","id":4949792,"avatar_url":"https://avatars.githubusercontent.com/u/4949792?v=3","gravatar_id":"","url":"https://api.github.com/users/sreejith-m-sreedharan","html_url":"https://github.com/sreejith-m-sreedharan","followers_url":"https://api.github.com/users/sreejith-m-sreedharan/followers","following_url":"https://api.github.com/users/sreejith-m-sreedharan/following{/other_user}","gists_url":"https://api.github.com/users/sreejith-m-sreedharan/gists{/gist_id}","starred_url":"https://api.github.com/users/sreejith-m-sreedharan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreejith-m-sreedharan/subscriptions","organizations_url":"https://api.github.com/users/sreejith-m-sreedharan/orgs","repos_url":"https://api.github.com/users/sreejith-m-sreedharan/repos","events_url":"https://api.github.com/users/sreejith-m-sreedharan/events{/privacy}","received_events_url":"https://api.github.com/users/sreejith-m-sreedharan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-22T17:19:03Z","updated_at":"2016-05-28T18:43:44Z","closed_at":"2015-09-25T19:39:36Z","body":"Hi \r\nI am getting 'unknown option --no-pretty' error while trying to start development server of react-native android project.\r\n\r\nI executed \r\n\r\n    npm start\r\n\r\nThen i got this: \r\n\r\n    React packager ready.\r\n    \r\n    ERROR: Unknown option --no-pretty\r\n    \r\n    Watchman:  watchman--no-pretty get-sockname returned with exit code 1 ERROR: Unknown option --no-pretty\r\n    \r\n    ERROR  watchman--no-pretty get-sockname returned with exit code 1 ERROR: Unknown option --no-pretty\r\n    \r\n    Error: watchman--no-pretty get-sockname returned with exit code 1 ERROR: Unknown option --no-pretty\r\n    \r\n        at ChildProcess.<anonymous> (/home/sreejith/projects/sample/node_modules/react-native/node_modules/sane/node_modules/fb-watchman/index.js:194:18)\r\n        at emitTwo (events.js:87:13)\r\n        at ChildProcess.emit (events.js:172:7)\r\n        at maybeClose (internal/child_process.js:817:16)\r\n        at Socket.<anonymous> (internal/child_process.js:319:11)\r\n        at emitOne (events.js:77:13)\r\n        at Socket.emit (events.js:169:7)\r\n        at Pipe._onclose (net.js:469:12)\r\n\r\nPlease help"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/222323506","html_url":"https://github.com/facebook/react-native/issues/2941#issuecomment-222323506","issue_url":"https://api.github.com/repos/facebook/react-native/issues/2941","id":222323506,"user":{"login":"amonmoce","id":7223550,"avatar_url":"https://avatars.githubusercontent.com/u/7223550?v=3","gravatar_id":"","url":"https://api.github.com/users/amonmoce","html_url":"https://github.com/amonmoce","followers_url":"https://api.github.com/users/amonmoce/followers","following_url":"https://api.github.com/users/amonmoce/following{/other_user}","gists_url":"https://api.github.com/users/amonmoce/gists{/gist_id}","starred_url":"https://api.github.com/users/amonmoce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amonmoce/subscriptions","organizations_url":"https://api.github.com/users/amonmoce/orgs","repos_url":"https://api.github.com/users/amonmoce/repos","events_url":"https://api.github.com/users/amonmoce/events{/privacy}","received_events_url":"https://api.github.com/users/amonmoce/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T18:43:44Z","updated_at":"2016-05-28T18:43:44Z","body":"If $watchman --version does not work, you are not using the appropriate watchman. Uninstall NPM watchman by $sudo npm r -g watchman and re-install it with brew $brew install --HEAD watchman. If you had install with brew before, first uninstall with $brew uninstall watchman. So better:\r\n\r\nsudo npm r -g watchman\r\nbrew uninstall watchman\r\nbrew install --HEAD watchman\r\n "}}
{"actor":{"display_login":"amonmoce"}}