Why is node-gyp rebuild failing on Mac OSX El Capitan

后端 未结 8 2152
囚心锁ツ
囚心锁ツ 2020-12-30 22:50

I recently bought a mac, which uses Mac OSX El Capitan v10.11.4. Installed node with homebrew, and am using node v6.2.2 and npm v3.9.5. I\'m getting an error with bcrypt dur

8条回答
  •  萌比男神i
    2020-12-30 23:38

    Same issue I had after upgrading macOS

    Update brew

    brew update
    

    Update X-Code

    xcode-select --install
    

    If needed, you may have to reset the path to X-Code

    xcode-select --switch /Applications/Xcode.app
    xcode-select --switch /Library/Developer/CommandLineTools
    

提交回复
热议问题