RN环境配置问题
2018-11-29 本文已影响1人
划落永恒
安装前要先确认python环境是3.0以上
执行brew install watchman发生了以下的错误
Error: An unexpected error occurred during the `brew link` step
The formula built, but is not symlinked into /usr/local
Permission denied @ dir_s_mkdir - /usr/local/Frameworks
Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
发现是python没有进行link并且不存在/usr/local/Frameworks文件夹
于是执行以下命令
sudo mkdir /usr/local/Frameworks
sudo chown $(whoami):admin /usr/local/Frameworks
brew link python
继续执行
brew install watchman
安装成功