我尝试提交时出现了这个错误。
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)
看起来是来自 Node 和它的 icu4c 依赖
rm -rf /usr/local/Cellar/node\@12
然后brew install node
,现在一切都恢复正常了。 - Nathaniel Heinrichs