brew uninstall --ignore-dependencies node icu4c
brew install node
brew uninstall --ignore-dependencies node icu4c
brew install node
Heya. This doesn't solve my issue by itself unfortunately :) While reinstalling node this pops up:
Gotta run |
this worked for me, thanks :) |
Also worked for me! Thank you! :) |
Thank you, this worked for me. |
Thank you, also works for me! |
Thanks, this worked. In my case, I use a versioned node,
|
|
it worked for me, thank you. |
Worked for me too: thank you! |
thanks |
I reinstall php with |
Thanks! brew link --overwrite node solved! |
Thanks, solved my issue! |
I had multiple versions of icu4c, so I had to run |
It works for me, thanks. |
|
It works for me, thanks. |
Nice one |
Confirming that still works. Thanks. |
This was such a weird error. Thank you internet. |
Thanks a lot for this! |
thanks for this! |
thanks for mentioning that ! i had laravel valet with php@7.1 and did |
+1 |
I had an old manually linked version of php 5.6 under /usr/local/bin/php, so php broke when I upgraded to 7.2. Deleting the old symlink allowed the newer PHP version to kick in. |
Thanks! |
Thank you. This confirmed works. |
brew reinstall php@7.1 I think the problem is with php. |
I concur that my issue was with php, with both Either way, |
|
brew reinstall php@7.2 worked for me as well! |
I got this problem when I installed php 7.3 |
Worked for me too! |
Thanks, worked for me |
Worked for me too. Much thanks <3 |
good tip, thanks for the contribution ! |
Thanks! |
also works ->
|
Work for me too. Thanks! |
I had this same error with Postgresql. |
@abelorian thanks. That did the trick! |
This worked, thank you! (though, I tried it without "icu4c" at the end) |
Fixed my problem, thx ! |
Does anybody actually know WHY this could happen ? Because only re-installing or re-linking will not solve the root cause, if a root cause exists. |
I think this could happen by installing php after node, don't know why or how, but it's the only thing that changed on my computer since this appear. |
Thanks, worked for me ;=) |
Thanks :) |
Doesn't work for me, neither for node, yarn or php $ brew uninstall node icu4c node@8 php@7.2 yarn --ignore-dependencies --force $ brew install node ==> Installing dependencies for node: icu4c ==> Installing node dependency: icu4c ==> Downloading https://homebrew.bintray.com/bottles/icu4c-62.1.mojave.bottle.tar.gz Already downloaded: /Users/bpolaszek/Library/Caches/Homebrew/downloads/2ac513734226effaf79e199fb1612ebce7842df443578bcd61afd73767858aef--icu4c-62.1.mojave.bottle.tar.gz ==> Pouring icu4c-62.1.mojave.bottle.tar.gz ==> Caveats icu4c is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include" For pkg-config to find icu4c you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" ==> Summary /usr/local/Cellar/icu4c/62.1: 250 files, 67.3MB ==> Installing node ==> Downloading https://homebrew.bintray.com/bottles/node-11.9.0.mojave.bottle.tar.gz Already downloaded: /Users/bpolaszek/Library/Caches/Homebrew/downloads/2e30c8593bd3e956d06849da8ac7cee30325be1e04a02e4f4c7d4946fa67a696--node-11.9.0.mojave.bottle.tar.gz ==> Pouring node-11.9.0.mojave.bottle.tar.gz ==> Caveats Bash completion has been installed to: /usr/local/etc/bash_completion.d ==> Summary /usr/local/Cellar/node/11.9.0: 4,064 files, 48.6MB ==> Caveats ==> icu4c icu4c is keg-only, which means it was not symlinked into /usr/local, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH run: echo 'export PATH="/usr/local/opt/icu4c/bin:$PATH"' >> ~/.bash_profile echo 'export PATH="/usr/local/opt/icu4c/sbin:$PATH"' >> ~/.bash_profile For compilers to find icu4c you may need to set: export LDFLAGS="-L/usr/local/opt/icu4c/lib" export CPPFLAGS="-I/usr/local/opt/icu4c/include" For pkg-config to find icu4c you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig" ==> node Bash completion has been installed to: /usr/local/etc/bash_completion.d $ node -v dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib Referenced from: /usr/local/bin/node Reason: image not found Abort trap: 6 * BANG * |
Thanks !! |
looks like everyone has been having a slightly different issue. What worked for me, which is a variation (simpler?) from what @bpolaszek posted:
|
|
For those who got this issue after brew upgrade node its just a linking issue for the new binary use |
brew reinstall php@7.1 worked for me ,thanks |
Awesome, thanks! |
|
As someone running into this issue trying to build an ionic ios app, this worked for me, thank you! Here is my particular error:
I did have the icu4c library but the xcode build script was looking for the wrong version. |
A much simpler solution will probably work for 2019 usersAs mentioned in this SO answer, you very likely only need to switch your
A bit less extreme method. |
works great! thanks! |
Thanks @trainoasis, |
Thanks. That worked for me. |
Worked for me too. thanks :) |
|
Thanks @trainoasis, |
|
|
@forresthopkinsa Thanks this worked for me! |
THANKS a LOT!!! Works perfectly!! |
Worked for me too. Tks |
Thank you. :) |
Much better and simpler solution. Especially for people that installed Node through NVM and do not want it installed through brew at all. |
Has anyone fixed this without @forresthopkinsa |
@rm-rf-etc Try the following:
You're right it's non-trivial, I had to do a lot of digging to get those commands. Let me know if they work for you. |
@berkedel you're my hero for today. Thank you :) |
Thank you |
Thank you. It worked. |
Thank you, this woked for me . |
Thanks - this saved me a lot of time! |
"brew upgrade node" works, thanks |
I tried everything here and this is the only approach that worked for me: The original stackoverflow question there matched my situation exactly. If you're having a slightly different version of icu4c requested by your errors (not 63), then you should modify the instructions to match your situation. So, for example, if you're seeing errors trying to find version 62, then in the |
After trying all of the above with no luck, this worked for me: |
Gracias me funcionó |
I was able to find a way to have To get the version 60.2 of
This brings in This commit is where version 60.2 was added to Homebrew/homebrew-core@86ff03f But they didn't do the checksums until this commit, which is used above: Homebrew/homebrew-core@fb928fc Any commit up until they pulled that install code can be used for version 60.2. The other option is to bring in an older version of
@humphriest's comment above will bring in As as additional suggestion to @em77's very astute reference: an easy way to find the commits for various versions of icu4c is to search homebrew-core's Github: https://github.com/Homebrew/homebrew-core/search?q=icu4c+60.2&type=Commits |
Thanks!! work form me too |
Thanks! work for me |
Thanks @em77! Your information helped me to solve this problem. |
Thank you. Works for me. |
brew upgrade node |
Thanks, it saves me a lot of time. |
Thanks @dalmau brew upgrade node worked for me on Mac OS Catalina. |
Thank you it work like a charm! |
work for me! |
works for me |
just re install php |
brew reinstall php@7.3 works for me |
I'm using |
|
Ultimately I switched to NVM as that manages Node and NPM far better and allows for installing down to minor and patch versions like 12.12.0 rather than Brew installing at a major version only.
|
brew reinstall php :) |
|
Worked for me, thanks |
For anyone still struggling with the error
worked for me. |
+1 this works |
+1 It Woked for me! Thank you!!! |
|
Suggested solution from Gist was working! Thanks! |
@Razoxane, your solution fixed it for me in Valet Plus (if anyone ever comes here because of that) |
Thanks! |
Thank you and fuck you homebrew for fucking everything up every single year. |
Works for me too, thanks :) |
@tom10271 Thank you ! |
worked for me also |
Thanks! |
In case you need to install 66.1
|
I'm gonna be the 500th to say this but yes, this worked, thank you very much! |
After 1million year, Worked for me too, Cheers :D |
Does everyone here actually understand what this does:
Call me paranoid but I'm a bit uncomfortable with running a script like this which I really don't understand..... |
This: worked perfectly. |
The first solution (uninstall + reinstall) worked for me, thanks so much! So this upgraded my local node version from 12 to the latest version 14. Was no big deal, just had to update node-sass too. I'm sure this may be the case with other modules depending on what you're doing. Here was the message, pretty straight forward:
|
If you don't know what's breaking your library dependency and you're using brew try this which worked for me:
|
This error happened right after I installed Encore into my solution. |
old postgresql 12.2 tryna seek out |
brew uninstall and re install worked perfectly |
Original solution worked for me, thanks! |
thanks |
worked thanks! |
@Razoxane solution worked for me! |
It's installing the version of icu4c as it specifically was in the version of the code in commit 896d1018c7a4906f2c3fa1386aaf283497db60a2 |
Thanks!! |
Also works. for me. 👌🏻 |
|
Thank You Akhmad |
Works for me, thanks! |
Running Cheers! |
|
In my mac, after installing an app by
Then in the
So it is true there is no For my mac, the simplest way to revert those files back to 64.2 version is the command
See the files in the
So don't hesitate to reinstall, check the |
thanks I had similar problems and reinstalling icu4c fixed my issues |
It works for me, thanks~ |
Worked for me. THANK you!! |
What worked for me is checking if either php or node are outdated with |
Thanks a lot! |