Ever wondered how you got this error below after upgrading OS X 10.9.5 (Mavericks) to OS X 10.10 (Yosemite) ?

Solution to that one is to:
npm uninstall -g gulp
npm install -g gulp
That’s it 😉
It was just the dependency error from old setting config to new environment configuration. ciao!