You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No such label 'done hook' for WebpackLogger.timeEnd() #499
I also have this issue when using webpack compiler in js, but not in CLI.
If the compilation fails (compiled with some errors), we have this Fatal error instead of a normal compilation failure.
I don't really know what is the expected outcome to be honest 😅. What's the output if this same error is triggered but webpack-bundle-analyzer is not in the plugins list? Does webpack output the error in a nicer way that time?
Activity
ArTiSTiX commentedon Oct 14, 2022
I also have this issue when using webpack compiler in js, but not in CLI.
If the compilation fails (compiled with some errors), we have this Fatal error instead of a normal compilation failure.
valscion commentedon Oct 14, 2022
Are you able to create a reproduction repository showing this error happening?
ArTiSTiX commentedon Oct 14, 2022
In fact i was able to find the exact case why this is happening.
In the Webpack run callback, if something throws it will trigger this error.
Ex:
If the WebpackBundleAnalyzer is configured, it should trigger this error.
valscion commentedon Oct 14, 2022
Adding a test that asserts the error thrown during compiler run would be a nice addition! Bonus points if the issue can be fixed, too
amareshsm commentedon Nov 19, 2022
@valscion The error message seems to be from Webpack logger. Can you pls brief what kind fix is expected here?.
valscion commentedon Nov 21, 2022
I don't really know what is the expected outcome to be honest 😅. What's the output if this same error is triggered but
webpack-bundle-analyzeris not in the plugins list? Does webpack output the error in a nicer way that time?fix: prevent WebpackLogger 'done hook' error when callback throws
fix: prevent WebpackLogger 'done hook' error when callback throws
fix: prevent WebpackLogger 'done hook' error when callback throws
ronakmaheshwari commentedon Oct 16, 2026
@valscion even this one