启动项目的时候报错这个zookeeper相关的
Directory: /---------/node_modules/zookeeper
gyp info it worked if it ends with ok gyp info using node-gyp@9.3.1 gyp info using node@18.20.6 | darwin | arm64 gyp info find Python using Python version 3.9.6 found at "/Library/Developer/CommandLineTools/usr/bin/python3" gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3 gyp info spawn args [
1、修复步骤
先执行了这个
xcode-select --install
xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates
➜ fintopia-web git:(test/changeAgreement)
2、删除损坏的 CommandLineTools
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
重新安装完xcode就好啦