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
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.
This discussion was converted from issue #498 on February 23, 2023 09:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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