Last active
November 16, 2018 08:02
-
-
Save zhaiduo/9ec7e2da58ed06d8bd209e54346a9d87 to your computer and use it in GitHub Desktop.
npm problems
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
### NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
add the following to ~/.zshrc | |
``` | |
export NODEJS_ORG_MIRROR=${NODEJS_ORG_MIRROR-$NVM_NODEJS_ORG_MIRROR} | |
export IOJS_ORG_MIRROR=${IOJS_ORG_MIRROR-$NVM_IOJS_ORG_MIRROR} | |
``` | |
. ~/.zshrc | |
### Error: Python executable "/usr/local/bin/python" is v3.6.4, which is not supported by gyp. | |
npm install --python=/usr/bin/python2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment