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

后端 未结 8 2173
囚心锁ツ
囚心锁ツ 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条回答
  •  心在旅途
    2020-12-30 23:31

    If the node_modules cache was built with a recent version of Node, you may need to remove the cache, revert back and then reinstall the packages:

    rm -rf node_modules
    nvm use 6
    npm install
    

提交回复
热议问题