Installing node with brew fails on Mac OS Sierra

后端 未结 21 2150
执笔经年
执笔经年 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:54

    I had the same problem with my local php installation.

    dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
      Referenced from: /usr/local/bin/php
      Reason: image not found
    Abort trap: 6
    

    Solved the problem with this command. (check your version)

    brew link --overwrite --force php@7.1
    

提交回复
热议问题