speed-measure-webpack-plugin
speed-measure-webpack-plugin copied to clipboard
Error when used with html-webpack-plugin@v4
ERROR in TypeError: Cannot read property 'hash' of undefined
- compiler.js:265
[aurox-client-web]/[html-webpack-plugin]/lib/compiler.js:265:30
- runMicrotasks
- task_queues.js:93 processTicksAndRejections
internal/process/task_queues.js:93:5
When I disable the speed-measure-webpack-plugin
the error goes away, might be related to:
https://dev.to/jantimon/html-webpack-plugin-4-has-been-released-125d#performance
Can you check that this happens with 1.3.3?
This is weird, I had updated my dependencies and got that error. But to be safe I cleaned my node_modules and reinstalled everything. and the issue is gone.
Sorry for the trouble, but I guess this is good for future reference in case someone else gets the same error.
@stephencookdev Wait actually, it came back. seems like it happens randomly. I'm guessing it has something to do with the new apis the plugin has started using from version 4. And maybe this tool interferes with them.
latest libs, latest webpack, same error as two years ago