Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete setup after installation: missing a few dependencies to run browsers #1732

Open
loganmzz opened this issue Nov 15, 2023 · 0 comments

Comments

@loganmzz
Copy link

On my Windows WSL, just run: curl -fsSL https://d2lang.com/install.sh | sh -s --:

/* installing d2-latest */
log: fetching info on latest version of terrastruct/d2
exec: curl -fL -#o /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json.inprogress -C- -H 'Accept: application/json' https://api.github.com/repos/terrastruct/d2/releases/latest
##O=#  #                                                                      
exec: mv /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json.inprogress /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json
log: skipping installation as d2 v0.6.1 is already installed.
/****************************************************************
 * next steps
 ****************************************************************/
log: d2-v0.6.1-linux-amd64 has been successfully installed into ~/.local
log: Rerun this install script with --uninstall to uninstall.
log
log: Run d2 --help for usage.
log: Run man d2 for detailed docs.

Then when I want to convert a D2 file: d2 test.d2 test.png:

err: failed to launch Chromium: could not send message: could not send message to server: 
err: ╔════════════════════════════════════════════════════════════╗
err: ║ Host system is missing a few dependencies to run browsers. ║
err: ║ Please install them with the following command:            ║
err: ║                                                            ║
err: ║     sudo npx playwright install-deps                       ║
err: ║                                                            ║
err: ║ <3 Playwright Team                                         ║
err: ╚════════════════════════════════════════════════════════════╝
@cyborg-ts cyborg-ts added this to D2 Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant