Skip to content

Playwright version no longer available #2776

Description

@eqqn

Running the d2 render depends on Chromium/Playwright.

Due to outdated CDN link, the rendering fails.

  echo "Rendering $d2file -> $dir/$base.png";       d2 "$d2file" "$dir/$base.png";     done
#19 0.132 Rendering <redacted>NetworkArchitecture.d2 -> ./images/<redacted>NetworkArchitecture.png
#19 1.386 err: failed to install Playwright: could not install driver: could not install driver: error: got non 200 status code: 404 (404 Not Found) from https://playwright.azureedge.net/builds/driver/playwright-1.47.2-linux.zip
#19 1.386 err: error: got non 200 status code: 404 (404 Not Found) from https://playwright-akamai.azureedge.net/builds/driver/playwright-1.47.2-linux.zip
#19 1.386 err: error: got non 200 status code: 404 (404 Not Found) from https://playwright-verizon.azureedge.net/builds/driver/playwright-1.47.2-linux.zip

This is true for both docker and go deps :
terrastruct/d2:latest fails
when installed via go install oss.terrastruct.com/d2@latest it also fails with the same error.

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