`node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX

后端 未结 16 2258
遇见更好的自我
遇见更好的自我 2020-12-13 23:59

I just bought myself a mac book after using Windows for a long time.

I was trying to work on a MeanJS project that I had been working on. Doing npm install

16条回答
  •  不知归路
    2020-12-14 00:47

    I recently had this error on a fresh OSX install of Node using homebrew. Brew installed the latest at the time 13.8.0.

    I downgraded the last "stable" release of node.

    sudo npm install -g n  ## Installs Node Version Switcher
    sudo n stable          ## To switch to latest stable version
    

    Then the rest of my npm installs finished and passed the dreaded gprc errors!

提交回复
热议问题