Answer the question
In order to leave comments, you need to log in
Why does the build get the error "Did you forget to signal async completion"?
I decided to rewrite the assembly from Gulp 3 to Gulp 4. At the
end I write:
...
function build () {
return gulp.series(clean_build,
gulp.parallel(
image_build,
fonts_build,
js_build,
css_build,
php_build,
html_build));
}
// define tasks
exports.html_build = html_build;
exports.php_build = php_build;
exports.css_build = css_build;
exports.js_build = js_build;
exports.fonts_build = fonts_build;
exports.image_build = image_build;
exports.build = build;
gulp build
[21:01:51] The following tasks did not complete: build
[21:01:51] Did you forget to signal async completion?
Answer the question
In order to leave comments, you need to log in
Forgot to add.
If you register the launch of all tasks like this:
exports.build = gulp.series(
clean_build,
gulp.parallel(image_build, fonts_build, js_build, css_build, php_build, html_build)
);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question