首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
开发中遇到的bug-The following tasks did not complete:XXXDid you forget to signal async completion?
开发中遇到的bug-The following tasks did not complete:XXXDid you forget to signal async completion?
it
2023-02-19
94
方法一:用done来抑制错误:
gulp
.
task
(
'hello'
,
function
(
done
)
{
//定义一个hello任务
console
.
log
(
'hello'
)
done
(
)
;
}
)
;
方法2 :添加async方法
转载请注明原文地址: https://lol.8miu.com/read-2288.html
最新回复
(
0
)