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
BEWARE: your OS is not officially supported by Playwright; downloading fallback build for ubuntu20.04-x64.
Downloading Chromium 129.0.6668.29 (playwright build v1134) from https://playwright.azureedge.net/builds/chromium/1134/chromium-linux.zip
I do have chromium installed on my machine already and it's working well with playwright as I use playwright on other projects. It shouldn't try to download it without asking. Also I'm on fedora, not ubuntu. I think something is wrong
I just ran in to this today too. I want to clarify that it looks like there are two issues here:
It is not using pre-installed chromium
It is downloading chromium without asking
Personally I care a lot more about number 2. The last thing I expect a small CLI diagram generator to do is download a behemoth headless browser to render a PNG.
This issue will not be resolved. D2's dependency is playwright-go, which is tied to a specific version, which is tied to a specific Playwright version, which is tied to a specific Chromium version. It's way too specific and frequently changing (I bet everyone reading this has a different version of Chromium installed on their machines rn) for the narrow case where someone might have a matching Chromium version on their system path already installed.
Activity
tomalexander commentedon Sep 3, 2025
I just ran in to this today too. I want to clarify that it looks like there are two issues here:
Personally I care a lot more about number 2. The last thing I expect a small CLI diagram generator to do is download a behemoth headless browser to render a PNG.
gsouf commentedon Sep 3, 2025
same concern here about downloading it without prior consent
alixander commentedon Sep 18, 2025
This issue will not be resolved. D2's dependency is playwright-go, which is tied to a specific version, which is tied to a specific Playwright version, which is tied to a specific Chromium version. It's way too specific and frequently changing (I bet everyone reading this has a different version of Chromium installed on their machines rn) for the narrow case where someone might have a matching Chromium version on their system path already installed.
But the prompting will be added.
gsouf commentedon Sep 18, 2025
move away from go, and everybody will feel better
tomalexander commentedon Sep 18, 2025
Thanks for adding the prompting @alixander