Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.67.dylib

Tags:

node.js

I had this error when trying to commit.

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)

It seems to be coming from node and its icu4c dependency

like image 602
Dorian Avatar asked Apr 19 '21 21:04

Dorian


Video Answer


1 Answers

I just needed to do brew reinstall icu4c, see https://gist.github.com/berkedel/d1fc6d13651c16002f64653096d1fded

like image 124
Dorian Avatar answered Oct 23 '22 00:10

Dorian