在执行make时报错
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决办法
重新安装xcode
xcode-select --install
等待安装完毕即可
部分用户可能会出现
/bin/sh: yarn: command not found
我们再安装yarn即可
curl -o- -L https://yarnpkg.com/install.sh | bash
安装完后需要source你的当前环境变量配置,比如
source ~/.zshrc
再运行make命令就可以了