Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Doesn't automatically open browser window in WSL2#583

franklin-ross started this conversation inIdeas
Discussion options

Issue description

When running the bundle analyser plugin in WSL2, specifyingopenAnalyzer: 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 theopener dependency doesn't support WSL:domenic/opener#33. I believe swapping to analternative that's actively maintained should solve this issue.

Technical info

  System:    OS: Linux 5.10 Ubuntu 20.04.3 LTS (Focal Fossa)    CPU: (10) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz    Memory: 3.93 GB / 9.72 GB    Container: Yes    Shell: 5.8 - /usr/bin/zsh  Binaries:    Node: 16.9.1 - ~/.nvm/versions/node/v16.9.1/bin/node    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.9.1/bin/yarn    npm: 8.5.2 - ~/.nvm/versions/node/v16.9.1/bin/npm  npmPackages:    compression-webpack-plugin: ^9.2.0 => 9.2.0     html-webpack-plugin: 5.5.0 => 5.5.0     webpack: ^5.69.1 => 5.69.1     webpack-bundle-analyzer: ^4.5.0 => 4.5.0     webpack-cli: 4.9.2 => 4.9.2     webpack-dev-server: ^4.7.4 => 4.7.4     webpack-merge: ^5.8.0 => 5.8.0

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.

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Ideas
1 participant
@franklin-ross
Converted from issue

This discussion was converted from issue #498 on February 23, 2023 09:24.


[8]ページ先頭

©2009-2025 Movatter.jp