-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I can use d2 just fine in the terminal of nvim (so it runs in the neovim context) without any problems.
when using the plugin it suddendly tells me that it wants playwright and core system libs which it cant find for playwright.
Diagram.nvim
Failed to render D2 diagram:
Playwright Host validation warning:
╔═════════════════════════
══════════════════════════
═══╗
║ Host system is missing dependencies to run browsers. ║
║ Missing libraries: ║
║ libglib-2.0.so.0 ║
║ libgobject-2.0.so.0 ║
║ libnss3.so ║
║ libnssutil3.so ║
║ libsmime3.so ║
║ libnspr4.so ║
║ libdbus-1.so.3 ║
║ libatk-1.0.so.0 ║
║ libatk-bridge-2.0.so.0 ║
║ libcups.so.2 ║
║ libgio-2.0.so.0 ║
║ libdrm.so.2 ║
║ libexpat.so.1 ║
║ libxcb.so.1 ║
║ libxkbcommon.so.0 ║
║ libatspi.so.0 ║
║ libX11.so.6 ║
║ libXcomposite.so.1 ║
║ libXdamage.so.1 ║
║ libXext.so.6 ║
║ libXfixes.so.3 ║
║ libXrandr.so.2 ║
║ libgbm.so.1 ║
║ libpango-1.0.so.0 ║
║ libcairo.so.2 ║
║ libudev.so.1 ║
║ libasound.so.2 ║
╚═════════════════════════
══════════════════════════
═══╝
at validateDependenciesLinux (/home/snoweuph/.cache/ms-playw
right-go/1.47.2/package/lib/server/registry/dependencies.js:216:9)
at async Registry._validateHostRequirements (/home/snoweuph/
.cache/ms-playwright-go/1.47.2/package/lib/server/registry/index.js:626:43)
at async Registry._validateHostRequirementsForExecutableIfNeeded (/home/snoweuph/.cache/ms-playwright-go/1.47.2/package/lib/server/registr
y/index.js:724:7)
at async Registry.validateHostRequirementsForExecutablesIfNeeded (/home/snoweuph/.cache/ms-playwright-go/1.47.2/package/lib/server/registr
y/index.js:713:43)
at async t.<anonymous> (/home/snoweuph/.cache/ms-playwright-
go/1.47.2/package/lib/cli/program.js:119:7) I can use d2 no problem in a term buffer :/

WTF is happening?
Metadata
Metadata
Assignees
Labels
No labels