-
-
Save eddiemonge/8c4c904720f9b716b8a1 to your computer and use it in GitHub Desktop.
This file contains 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
/usr/local/bin/yo -> /usr/local/lib/node_modules/yo/cli.js | |
> yo@1.3.3 postinstall /usr/local/lib/node_modules/yo | |
> yodoctor | |
[Yeoman Doctor] Uh oh, I found potential errors on your machine | |
--------------- | |
[Error] npm root value is not in your NODE_PATH | |
[info] | |
NODE_PATH = /usr/local/lib/node_modules | |
npm root = /bin/sh: npm: command not found | |
[Fix] Append the npm root value to your NODE_PATH variable | |
Add this line to your .bashrc | |
export NODE_PATH=$NODE_PATH:/bin/sh: npm: command not found | |
Or run this command | |
echo "export NODE_PATH=$NODE_PATH:/bin/sh: npm: command not found" >> ~/.bashrc && source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment