For my case, i only get the error when opening accessing terminal (zsh) via VS Code.
Upon opening VS Code terminal OR running node
command, i get this error:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
[1] 4506 abort node
However, it runs fine when running via iTerm. Tried running brew update
and brew upgrade
and a few other recommended answers.
Anything am i missing?
Piggybacking off Jason's answer, another option is to just run
brew upgrade node
Found the answer here
Run this
brew uninstall node icu4c
brew install node
You might follow these steps.
> which node
/usr/local/bin/node
> rm /usr/local/bin/node
> brew unlink node
> brew link --overwrite node
This should solve the problem.
A brew reinstall icu4c
fixed the problem on macOS 10.15.6.
It also helps to watch your logs when starting a broken package (node, pg, etc. – for pg it's tail -f /usr/local/var/log/[email protected]
– not the server log).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With