The other day I was trying out Gulp (normally I use Grunt) but after running 'npm install -g gulp' everything seemed
to install fine except I got a 'gulp command not found' error after trying to run 'gulp'
So, after looking around on the net, I came across a couple of posts (post1,
post2) that helped me identify the issue: essentially my
global NPM modules were being installed to the wrong location and couldn’t be accessed on my PATH. For some context,
I’m running Node v0.10.26 with NPM 1.3.23 on OSX 10.9.2.
The following OSX terminal commands helped me narrow down the issue: