dyld:库未加载:/usr/local/opt/icu4c/lib/libicui18n.67.dylib
我在尝试提交时遇到了这个错误。
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
.husky/pre-commit: line 4: 20559 Abort trap: 6 yarn lint-staged
husky - pre-commit hook exited with code 134 (error)
它似乎来自节点及其 icu4c 依赖项
回答
我只需要做brew reinstall icu4c,见https://gist.github.com/berkedel/d1fc6d13651c16002f64653096d1fded
THE END
二维码