Installing node with brew fails on Mac OS Sierra

后端 未结 21 2189
执笔经年
执笔经年 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条回答
  •  猫巷女王i
    2021-01-30 06:46

    First I uninstall node and icu4c, force to uninstall all versions

    brew uninstall --force --ignore-dependencies node icu4c
    

    After install version 8 of Node

    brew install node@8
    

    If it already install, please just upgrade

    brew upgrade node@8
    

    And enter

    node -v
    

    v8.11.1

提交回复
热议问题