title: Error when run Gulp Task in VSCode
body: <p>I use a task in no gulp to run my project in developer mode for a long time, however today, when trying to run the project, I got this error:</p>
  
  <p><img src="https://i.stack.imgur.com/RyBnO.png" alt=""></p>
  
  <p>I use the node with NVM, so I tried to reinstall NVM and the Node version v8.9.3, but that did not solve the problem. I tried reinstalling NPM and it also did not fix the problem.</p>
  
  <p>The error happen when press F5 to run command: </p>
  
  <p>Configuration in VSCode:</p>
  
  <pre><code>{
       "version": "0.2.0",
       "configurations": [
  
           {
               "type": "node",
               "request": "launch",
               "name": "Gulp Run Dev",
               "program": "$ {workspaceFolder}/node_modules/gulp/bin/gulp.js",
               "args": [
                   "rundev"
               ]
           }
       ]
  }
  </code></pre>
  
  <p>I noticed that when I run the task manually in Terminal it works:</p>
  
  <p><code>gulp rundev</code></p>
  
  <p>I did not perform any updates or changes to the project modules and did not perform any updates to the VSCode.</p>