brew uninstall --ignore-dependencies node icu4c
brew install node
Created
April 4, 2018 14:13
-
-
Save berkedel/d1fc6d13651c16002f64653096d1fded to your computer and use it in GitHub Desktop.
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.60.dylib
This is work on my macbook air m1. Fixed every version installed php
brew upgrade icu4c
brew upgrade
i have same issue but ,,,
i have multiple node version on brew 12, 18, and 21.
on version 18 there is no error .
only error on version 12.
> brew list | grep node
// error when check version `node -v`
node // V21.1.0 // works
node@12 // error // this no longer on brew install node@12 be aware before re install / uninstall
node@14 // not test
node@18 // works
# export PATH="/opt/homebrew/opt/node@12/bin:$PATH"
# export PATH="/opt/homebrew/opt/node@14/bin:$PATH"
# export PATH="/opt/homebrew/opt/node/bin:$PATH"
export PATH="/opt/homebrew/opt/node@18/bin:$PATH"
Thank you very much!!!
Worked, thanks for unblocking me!
brew uninstall --ignore-dependencies node icu4c && brew install node
Worked!!
Updating the php version worked for me (from 7.4 to 8.1)
brew uninstall php@7.4
rm -rf /usr/local/etc/php
brew reinstall php
You're a lifesaver!!! Thank you! BTW, I had multiple versions (brew list | grep php
), so I removed all but php (with no version) and then just did the reinstall and now it's perfect.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok thank you