我正在尝试推送我的应用的新版本,该构建过程曾经正常工作,然后开始出现此错误
Command /bin/sh failed with exit code 134
我尝试仅在安装时检查运行脚本,这对我的开发版本有所帮助,但对我的存档版本却没有帮助
该应用程序是一个独立的expo react native应用程序-完整的错误是这样
~/Desktop/repticitysingin ~/Desktop/repticitysingin/ios
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
/Users/waltershub/Library/Developer/Xcode/DerivedData/repticity-checkin-dyladlpnrkuavlcnilspzxthizjw/Build/Intermediates.noindex/ArchiveIntermediates/repticity-checkin/IntermediateBuildFilesPath/repticity-checkin.build/Release-iphoneos/repticity-checkin.build/Script-B5722AD01DFB7E3F0084848F.sh: line 6: 7032 Abort trap: 6 PATH="$PATH:$value" exp prepare-detached-build --platform ios
Command /bin/sh failed with exit code 134
最佳答案
我遇到了同样的问题,并在这里找到了解决方案:https://gist.github.com/berkedel/d1fc6d13651c16002f64653096d1fded。感谢@berkedel
brew uninstall --ignore-dependencies node icu4c
brew install node
另外,另一位用户提到他还必须执行
brew link --overwrite node
,但在我的情况下不是必需的。