ReactNative brew install watchman 报错Error: Running Homebrew as root is extremely dangerous and no longer supported.
brew install watchman时报错
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
解决办法:
不要在root权限下使用brew,不要加sudo