This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Doesn't automatically open browser window in WSL2 #498
Labels
You can continue the conversation there. Go to discussion →
Issue description
When running the bundle analyser plugin in WSL2, specifying
openAnalyzer: true
doesn't actually open browsers. Everything else works great, I can manually open the URL and see the stats.I believe this fails because the
opener
dependency doesn't support WSL: domenic/opener#33. I believe swapping to an alternative that's actively maintained should solve this issue.Technical info
Debug info
How do you use this module? As CLI utility or as plugin?
As a Webpack plugin
If plugin, what options were provided?
No options, or with openAnlyser explicitly set to true
.What other Webpack plugins were used?
A few, but I don't think they're relevant. I can provide them if I'm mistaken.
It would be nice to also attach webpack stats file.
I don't think it's necessary for me to attach a stats file as that all works fine.
The text was updated successfully, but these errors were encountered: