Doesn't automatically open browser window in WSL2 #583
franklin-ross
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions