The problem probably occurs because your Node installation might not have properly setup the
NODE_PATH OR the npm binary is not pointed on
PATH environment variable.
Here are some probable solutions:
PATH. See this article or this.
- Re-open your command line after installing Node (When you setup environment paths you need to restart the terminal/command line for it to take effect)
Let me know if either does not work.