Skip to content

Instantly share code, notes, and snippets.

@innyso
Last active April 12, 2020 11:10
Show Gist options
  • Save innyso/b91ac8d304f2eab0077f083ae60d9d0f to your computer and use it in GitHub Desktop.
Save innyso/b91ac8d304f2eab0077f083ae60d9d0f to your computer and use it in GitHub Desktop.
#nvm #error

when you see:

nvm is not compatible with the npm config "prefix" option

run this:

$ npm config delete prefix 
$ npm config set prefix $NVM_DIR/versions/node/v6.11.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment