gulp.watch 一修改就报错

问题出现在 gulp.watch 的时候,一旦修改内容,就会报错,单独编译不用watch就不会报错。报错如下:
] 'build' errored after 29 μs
[19:42:57] Error: The thunkFunction already filled

at child (E:\code\zwl-pc-h5\node_modules\thunks\index.js:151:32)
at Gulp.thunkFunction (E:\code\zwl-pc-h5\node_modules\thunks\index.js:146:14)
at module.exports (E:\code\zwl-pc-h5\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:214:10)
at Gulp.Orchestrator.start (E:\code\zwl-pc-h5\node_modules\orchestrator\index.js:134:8)
at Gulp.<anonymous> (E:\code\zwl-pc-h5\node_modules\gulp\index.js:36:18)
at Gaze.<anonymous> (E:\code\zwl-pc-h5\node_modules\glob-watcher\index.js:18:14)
at emitTwo (events.js:106:13)
at Gaze.emit (events.js:191:7)


阅读 2.5k
1 个回答

没碰到过这问题,建议贴出相关代码。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题