Got the following error
❮ bun run index.ts
Failed to create GBM buffer of size 800x600: Invalid argument
index.ts:
import { WebUI } from "@webui-dev/bun-webui";
const myWindow = new WebUI();
myWindow.show('<html><script src="webui.js"></script> Hello World! </html>');
await WebUI.wait();
Also why npm install @webui-dev/bun-webui instead of bun add @webui-dev/bun-webui? Either way I tried both and got the same error.
I'm on Linux with chromium and firefox installed. Bun version is 1.3.8.