我有以下gulpfile.js,該代碼是通過命令行“ gulp消息”執(zhí)行的:var gulp = require('gulp');gulp.task('message', function() { console.log("HTTP Server Started");});我收到以下錯誤消息:[14:14:41] Using gulpfile ~\Documents\node\first\gulpfile.js[14:14:41] Starting 'message'...HTTP Server Started[14:14:41] The following tasks did not complete: message[14:14:41] Did you forget to signal async completion?我在Windows 10系統(tǒng)上使用gulp 4。這是gulp --version的輸出:[14:15:15] CLI version 0.4.0[14:15:15] Local version 4.0.0-alpha.2
Gulp錯誤:以下任務(wù)未完成:您是否忘記了異步完成信號?
ibeautiful
2019-10-14 14:51:50