I\'m trying to install node with homebrew on macOS Sierra. I run
brew install node
After a seemingly successful install I get the following
I found a solution that works great over here. I'll briefly give the commands below.
First, cd into the homebrew formula directory:
cd $(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula
Git log:
git log --follow icu4c.rb
Choose the commit hash that matches the version you need. I needed version 61.1, thus chose the 6d9815
commit:
git checkout -b icu4c-61.1 6d9815
Reinstall:
brew reinstall ./icu4c.rb
Switch:
brew switch icu4c 61.1
That fixed it for me.
Credit: hanxue
In my case, brew upgrade node
resolve the problem :)
I fixed by
cd /usr/local/Cellar
rm -rf node*/
rm -rf icu4c/
brew install node