I found this issue. But it didn't solve my problem.
#180
I still get this error:
D:\work\kefu\front\node_modules\webpack-stream\index.js:198
? function (callback) { compiler.hooks.afterEmit.tapAsync('WebpackStream', callback); }
^
TypeError: Cannot read property 'tapAsync' of undefined
at D:\work\kefu\front\node_modules\webpack-stream\index.js:198:58
at handleCompiler (D:\work\kefu\front\node_modules\webpack-stream\index.js:202:7)
at Stream.<anonymous> (D:\work\kefu\front\node_modules\webpack-stream\index.js:218:7)
at _end (D:\work\kefu\front\node_modules\through\index.js:65:9)
at Stream.stream.end (D:\work\kefu\front\node_modules\through\index.js:74:5)
at DestroyableTransform.onend (D:\work\kefu\front\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:523:10)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at DestroyableTransform.emit (events.js:208:7)
at D:\work\kefu\front\node_modules\vinyl-fs\node_modules\readable-stream\lib\_stream_readable.js:965:16
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
I found this issue. But it didn't solve my problem. #180
I still get this error:
package.json:
webpack.config.js:
gulpfile.js: