今天在搭建React Native开发环境时候按照教程React Native中文网教程遇到了几个错误的问题,不知道是不是我操作有问题,如果遇到同样错误的可以参考下
Please delete these paths and run brew update

链接错误.png
我按照错误提示把目录下的brew.1文件删除后重新update了一下
在敲'brew install watchman'这个命令的时候遇到了如下错误
You must brew link autoconf automake before watchman can be installed

配置环境.png
这个错误已经说了需要brew link autoconf automake命令一下

成功.png
然后就OK了

CBD9292B-7649-46CD-8CC7-B6055F28D5B7.png