homebrew yarn dyld: Library not loaded code example

Example 1: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.66.dylib Referenced from: /usr/local/bin/node Reason: image not found

brew reinstall node

Example 2: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib Referenced from: /usr/local/bin/php Reason: image not found zsh: abort bin/console sw:cache:clear

brew upgrade
brew cleanup

Example 3: dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicuio.66.dylib

> which node
/usr/local/bin/node
> rm /usr/local/bin/node
> brew unlink node
> brew link --overwrite node