Skip to content

Chromium download #2502

Closed
Closed

Description

@gsouf

I just ran d2 test.d2 out.png, and got:

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

Thanks

Activity

  1. tomalexander commented on Sep 3, 2025

    @tomalexander

    I just ran in to this today too. I want to clarify that it looks like there are two issues here:

    1. It is not using pre-installed chromium
    2. 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.

  2. gsouf commented on Sep 3, 2025

    @gsouf
    Author

    same concern here about downloading it without prior consent

  3. alixander commented on Sep 18, 2025

    @alixander
    Collaborator

    It is not using pre-installed chromium

    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.

  4. gsouf commented on Sep 18, 2025

    @gsouf
    Author

    move away from go, and everybody will feel better

  5. tomalexander commented on Sep 18, 2025

    @tomalexander

    Thanks for adding the prompting @alixander

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions