title: Gulp error: gulp.hasTask is not a function
body: <p>I'm getting the following when I run "gulp". Looks like I have a mixed of CLI and Local version, not really sure how to solve this problem. </p>
  
  <pre><code>cabox@box-codeanywhere:~/workspace/apps/web-ui$ gulp -v
  [22:44:23] CLI version 2.0.1
  [22:44:23] Local version 4.0.0
  cabox@box-codeanywhere:~/workspace/apps/web-ui$
  cabox@box-codeanywhere:~/workspace/apps/web-ui$
  cabox@box-codeanywhere:~/workspace/apps/web-ui$ gulp
  [22:44:28] Using gulpfile ~/workspace/apps/web-ui/gulpfile.js
  [22:44:28] Starting 'default'...
  [22:44:28] 'default' errored after 5.41 ms
  [22:44:28] TypeError: gulp.hasTask is not a function
      at /home/cabox/workspace/apps/web-ui/node_modules/run-sequence/index.js:23:22
      at Array.forEach (&lt;anonymous&gt;)
      at verifyTaskSets (/home/cabox/workspace/apps/web-ui/node_modules/run-sequence/index.js:17:11)
      at runSequence (/home/cabox/workspace/apps/web-ui/node_modules/run-sequence/index.js:130:2)
      at /home/cabox/workspace/apps/web-ui/gulpfile.js:187:5
      at taskWrapper (/home/cabox/workspace/apps/web-ui/node_modules/undertaker/lib/set-task.js:13:15)
      at bound (domain.js:301:14)
      at runBound (domain.js:314:12)
      at asyncRunner (/home/cabox/workspace/apps/web-ui/node_modules/async-done/index.js:55:18)
      at _combinedTickCallback (internal/process/next_tick.js:131:7)
  cabox@box-codeanywhere:~/workspace/apps/web-ui$ ^C
  </code></pre>