Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when used with html-webpack-plugin@v4 #118

Open
alitaheri opened this issue Mar 23, 2020 · 4 comments · May be fixed by #151
Open

Error when used with html-webpack-plugin@v4 #118

alitaheri opened this issue Mar 23, 2020 · 4 comments · May be fixed by #151

Comments

@alitaheri
Copy link

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

@alitaheri alitaheri changed the title Error when used with htmp-webpack-plugin@v4 Error when used with html-webpack-plugin@v4 Mar 23, 2020
@stephencookdev
Copy link
Owner

Can you check that this happens with 1.3.3?

@alitaheri
Copy link
Author

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.

@alitaheri
Copy link
Author

alitaheri commented Mar 24, 2020

@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.

@alitaheri alitaheri reopened this Mar 24, 2020
@AuthorProxy
Copy link

latest libs, latest webpack, same error as two years ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants