FBReactNativeSpec Command PhaseScriptExecution failed with a nonzero exit code
通常都是brew install node@18 命令安装Node,它默认安装在 /opt/homebrew/bin/node
。
解决办法
用 brew uninstall node 卸载Node
brew uninstall node