I followed these steps: https://facebook.github.io/watchman/docs/troubleshooting.html#poison-opendir and it worked for me. Note that you have to expand the memory using the instruction at the end of this page: https://facebook.github.io/watchman/docs/install#system-specific-preparation.