Installing node with brew fails on Mac OS Sierra

后端 未结 21 2153
执笔经年
执笔经年 2021-01-30 05:50

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

21条回答
  •  粉色の甜心
    2021-01-30 06:45

    I removed export PATH="/usr/local/opt/icu4c/bin:$PATH" from my ~/.bash_profile file and it fixed my problem.

    My error was:

    dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
      Referenced from: /usr/local/opt/node@10/bin/node
      Reason: image not found
    Abort trap: 6
    

    My /usr/local/opt/icu4c/lib contains libicui18n.64.dylib

提交回复
热议问题