开发中遇到的bug-The following tasks did not complete:XXXDid you forget to signal async completion?

it2023-02-19  94

方法一:用done来抑制错误:

gulp.task('hello', function (done) { //定义一个hello任务 console.log('hello') done(); });

方法2 :添加async方法

最新回复(0)