title: Upgraded to El Capitan and gulp no longer works
body: <p>So at work we use gulp and outside of generally being shown how to run it, I really don't understand how it works.  In terminal I'd cd into the project, sudo npm install, then run gulp and that was that.  I've since upgraded my OS to el Capitan and now I get this error:</p>
  
  <pre><code>Using gulpfile ~/Desktop/FTW/gulpfile.js
  /usr/local/lib/node_modules/gulp/bin/gulp.js:129
      gulpInst.start.apply(gulpInst, toRun);
                    ^
  TypeError: Cannot read property 'apply' of undefined
      at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:19
      at nextTickCallbackWith0Args (node.js:420:9)
      at process._tickCallback (node.js:349:13)
      at Function.Module.runMain (module.js:443:11)
      at startup (node.js:139:18)
      at node.js:974:3
  </code></pre>
  
  <p>I've tried looking this up, but as a complete novice to terminal, command line, etc., I'm completely lost as to what exactly is wrong and how to fix it.  Any help is appreciated.  Thanks!</p>
  
  <p>Edit: I have no idea what this did, but it's seemed to have worked?  At least for this one project; I have no idea if this is a per-project local fix or otherwise.</p>
  
  <pre><code>npm install -g gulp-cli
  </code></pre>