Closed YetiCGN closed 4 years ago
@YetiCGN Please try the latest version Does the problem recur?
Please give a minimally reproducible example (preferably in the form of a repository) that reproduces the problems
@Gvozd Wow, you had me digging through my history from almost two years ago, but I did find the project I was working on at the moment and it still had this part in its webpack.config.js
:
// show OS notifications when builds finish/fail
// FIXME Deactivated due to https://github.com/Turbo87/webpack-notifier/issues/52
//.enableBuildNotifications()
But I can confirm that the problem doesn't occur with the latest 1.10.1.
I'm using Webpack Encore 0.22.2 with Webpack 4.28.3 and webpack-notifier 1.6.0. After including postcss-loader version 3, suddenly there is this error:
Deactivating the build notifications solves the problem, but then I have no build notifications.
I debugged the script at line 25, in this case
error
really is undefined,this.lastBuildSucceeded
is false,stats.hasErrors()
is false, butstats.hasWarnings()
is true. Yet,stats.compilation.warnings
is an empty array.