title: Gulp TypeError: dest.on is not a function
body: <p>I'm trying to generate a bundle.js file with a Gulp task</p>
  
  <pre><code>var gulp = require('gulp'),
      gutil = require('gulp-util'),
      wrench = require('wrench'),
      conf = require('./webpack.config'),
      webpack = require('webpack'),
      WebpackDevServer = require('webpack-dev-server');
  
  // Webpack
  gulp.task('wp', function() {
    return gulp.src('./assets/scripts/entry.js')
      .pipe(webpack(conf))
      .pipe(gulp.dest('./assets/build1'));
  });
  </code></pre>
  
  <p>However, I get <code>TypeError: dest.on is not a function</code> when I try to run it:</p>
  
  <p><a href="https://i.stack.imgur.com/4upAv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4upAv.png" alt="enter image description here"></a></p>
  
  <p>Here's the folder directory:</p>
  
  <p><a href="https://i.stack.imgur.com/ZgNLQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZgNLQ.png" alt="enter image description here"></a></p>