I have been facing this issue since yesterday and am unable to resolve. I have gone through all github issues filed for react native and watchman, none helped to resolve the issue.
When I try to start react-native inside my project folder using command:
react-native start
Following log is thrown in terminal:
[4:57:26 PM] Building Dependency Graph [4:57:27 PM] Crawling File System [Hot Module Replacement] Server listening on /hot
React packager ready.
Failed to build DependencyGraph: Watchman error: Cannot read property 'root' of null. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html. Error: Watchman error: Cannot read property 'root' of null. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.html. at /Users/anum/Desktop/Practice/QuizReact/node_modules/node-haste/lib/crawlers/watchman.js:63:11 at process._tickCallback (internal/process/next_tick.js:103:7)
I have updated both watchman and brew to latest versions. Please can someone point me towards right way to solve this problem? Thanks.