Skip to content

Failed to create GBM buffer of size 800x600: Invalid argument #13

@lzhoucs

Description

@lzhoucs

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.

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