NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.99k stars 14.01k forks source link

d2 fails to generate PNG images #206055

Open wentasah opened 1 year ago

wentasah commented 1 year ago

Describe the bug

Generating PNG images fails with an error message.

Steps To Reproduce

Run the following in bash or zsh:

$ d2 <(echo 'x -> y') out.png
err: failed to install Playwright: could not install driver: could not install driver: could not check if driver is up2date: could not run driver: exit status 1

Expected behavior

out.png is produced.

Notify maintainers

@dit7ya

Additional context

The error appears with version 0.1.0 and recent 0.1.1.

Metadata

alpmestan commented 4 weeks ago

Hello.

@wentasah Did you ever figure out a workaround?

wentasah commented 4 weeks ago

I think I ended up generating different format and then converting to png. But it was long time ago.

alpmestan commented 4 weeks ago

OK, thanks!