Questions tagged [gulp-4]

use this tag for specific issues about Gulp version 4 or upgrading to version 4; use the [gulp] tag for general gulp issues

Gulp version 4

gulp is a toolkit that helps you automate painful or time-consuming tasks in your development workflow.

Github project: https://github.com/gulpjs/gulp/tree/4.0

Upgrade instructions: https://codeburst.io/switching-to-gulp-4-0-271ae63530c0

Guide to Upgrading to Gulp 4: https://www.joezimjs.com/javascript/complete-guide-upgrading-gulp-4/

115 questions
0
votes
2 answers

Using stream-combiner2 with Gulp 4

I'm trying to use stream-combiner2 with my Gulp 4 task, as advised in the current version of this recipe. However, I always receive: The following tasks did not complete: build:js Did you forget to signal async completion? I've read the excellent…
Tohuw
  • 3,630
  • 5
  • 22
  • 24
0
votes
1 answer

Gulp 4.0 signal async completion error despite returning stream

I have the following gulp task that returns a stream. It works fine in gulp 3.9.1, but converting to gulp 4.0, I get: Did you forget to signal async completion? const gulp = require('gulp'); const gulpif = require('gulp-if'); const plumber =…
mythereal
  • 773
  • 9
  • 22
0
votes
1 answer

Gulp 4 bower install doesn't trigger finished

I'm using gulp 4. When trying to install bower dependencies using gulp, the bower task never finishes. Both the example below actually install dependencies. Example 1 var run = require('gulp-run'); gulp.task('bower', function(done) { …
Tyler Graf
  • 454
  • 6
  • 17
0
votes
1 answer

Gulp 4 assets are not copying with gulp.dest

I had it working a couple weeks ago, but for some reason, the following is no longer copying my files from the assets directory to the dist directory. const gs = gulp.series, gp = gulp.parallel; gulp.task('fonts', (done) => { gulp.src([ …
gin93r
  • 1,551
  • 4
  • 21
  • 39
0
votes
1 answer

Gulp 4 keep watching even on error

How can I make this // ... gulp.watch(source.app, gulp.series( lint(source.app), transpile(source.app), ATDD, )); To keep watching even if error occurred from linter or transpiler? My task function looks like this: // ... function…
Roman M. Koss
  • 970
  • 1
  • 15
  • 33
0
votes
1 answer

gulp 4.0: run tasks in series

I'm trying to run a set of tasks in series, that is one after the other in Gulp 4.0 however when I add my 3rd task my gulp code breaks. gulp.task('concat-js', (done) => { gulp.src([ 'app1.js', 'app2.js', ]) …
Clifford Fajardo
  • 1,357
  • 1
  • 17
  • 28
0
votes
1 answer

Signal async completion error although I returned a stream

I can't figure out why I'm getting Did you forget to signal async completion? Here's my setup: gulp.task('compile-ts', () => { return tsProject.src(config.files.src.ts) .pipe($.tap((file, t) => { logVerbose('Compiling "' +…
Thorsten Westheider
  • 10,572
  • 14
  • 55
  • 97
-1
votes
1 answer

Gulp task never defined

I have problems while changing the syntax from gulp v3 to gulp v4. I almost got the code but a small error occurred. Can anyone help me with that error? And I have no previous knowledge of gulp this is the first task I'm performing hope anyone can…
-1
votes
1 answer

Migrating to Gulp 4, [not creating scripts and Running the server. No Error Shown]

I migrated from gulp 3.9.1 to 4.0.2, I resolved the issues where needed to introduce gulp.series and gulp.parallel. In the app folder i generate i dont see my scripts being generated apart from css files. gulpfile.js var gulp =…
Alexandra
  • 75
  • 1
  • 11
-1
votes
2 answers

How to Solve Gulp 4.0 Errors?

I'm setting up gulp.js file for gulp 4.0 but I'm facing lots of errors. I'm new to gulp 4.0 and not familiar with new syntax. I tried many solution from different Sites But didn't worked for me. below is my gulp,js file code. Please Help me to find…
1 2 3 4 5 6 7
8