在执行make时报错

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

解决办法

重新安装xcode

xcode-select --install

mac报错xcrun: error: invalid active developer path解决办法
等待安装完毕即可

部分用户可能会出现

/bin/sh: yarn: command not found

我们再安装yarn即可

curl -o- -L https://yarnpkg.com/install.sh | bash

安装完后需要source你的当前环境变量配置,比如

source ~/.zshrc

再运行make命令就可以了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-01
  • 2021-08-30
  • 2022-12-23
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-06-01
  • 2021-06-02
  • 2021-11-12
相关资源
相似解决方案