Error: Cowardly refusing to `sudo brew install` for installing glue 0.3 for Mac OSX Mountain Lion

后端 未结 6 552
失恋的感觉
失恋的感觉 2021-01-30 11:13

I\'m trying to install glue 0.3 for OXS Mountain Lion and ran into this error after installing homebrew (Error: Cowardly refusing to sudo brew install You can use b

6条回答
  •  故里飘歌
    2021-01-30 11:33

    I have updated my macos to sierra and npm stopped working. Below are the steps followed to fix them.

    Uninstall Node and install it from brew and follow the below steps

    sudo chmod g+w /usr/local/Cellar
    sudo chgrp staff /usr/local/Cellar
    sudo chown root /usr/local/bin/brew
    sudo brew postinstall node
    

提交回复
热议问题