Created
April 3, 2018 18:41
-
-
Save linkesch/1cd60f52dd33c8a23bc152764f6729cf to your computer and use it in GitHub Desktop.
Error: Cannot find module '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/nodejs/node-gyp/issues/809#issuecomment-343288691 | |
# After switching to a new NodeJS version using n I got this issue as well (I usually do when switching versions...) | |
# This did the trick for me: | |
npm explore npm -g -- npm install node-gyp@latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment