Context:
We are trying to run watchman in react-native but our build is stuck at 97%.
We have installed watchman using brew.
Problem
At some point, watchman throws this error:[cli] unable to talk to your watchman on /opt/homebrew/var/run/watchman/user_profile/sock! (No such file or directory)
If navigate to that directory, we find that there is a sock file.
The following commands just hang: watchman --foreground, watchman watch-dell-all, watchman watch project_root_directory
What we tried:
We reinstalled watchman
We have given permission to that folder by running chmod 0700 /opt/homebrew/var/run/watchman/user_profile
We also tried removing the pid as suggested here https://github.com/facebook/watchman/issues/671#issuecomment-496843860
We installed version 2022.11.07.00 from source
Context: We are trying to run watchman in react-native but our build is stuck at 97%. We have installed watchman using brew.
Problem At some point, watchman throws this error:
[cli] unable to talk to your watchman on /opt/homebrew/var/run/watchman/user_profile/sock! (No such file or directory)
If navigate to that directory, we find that there is a sock file.The following commands just hang: watchman --foreground, watchman watch-dell-all, watchman watch project_root_directory
What we tried: We reinstalled watchman We have given permission to that folder by running chmod 0700 /opt/homebrew/var/run/watchman/user_profile We also tried removing the pid as suggested here https://github.com/facebook/watchman/issues/671#issuecomment-496843860 We installed version 2022.11.07.00 from source
System: Macbook Pro M1 MacOS: Sonoma node: 21