Command PhaseScriptExecution failed with a nonzero exit code
【代码报错】Command PhaseScriptExecution failed with a nonzero exit code。
·
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
删除 Node后,从 Node.js 官网直接下载并安装包,Node 默认安装在 /usr/local/bin。重新运行 Xcode,没有报错,问题解决。
更多推荐




所有评论(0)