-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
linuxRelated to linuxRelated to linux
Description
The command I was running: deno run --allow-all webview.ts
One of the multiple errors that I encountered:
Gtk-Message: 23:01:29.666: Failed to load module "xapp-gtk3-module"
This is the simple file that I was running
// webview.ts
import * as Webview from "jsr:@webview/webview@^0.8.1";
const html = `
<html>
<body>
<h1>Hello from deno v</h1>
</body>
</html>
`;
const webview = new Webview.Webview();
webview.navigate(`data:text/html,${encodeURIComponent(html)}`);
webview.run();
❌ What I've tried and didn't work:
- try installing libwebkit on my debian machine
- try multiple flags, some of which are
-A
-Ar
--unstable-ffi
--i
- try the demo
deno run --allow-all https://deno.land/x/webview/examples/local.ts
✅ Solved by changing the import to: import * as Webview from "jsr:@webview/webview@^0.8.1";
I think the demonstration failed because it is predetermined to the latest version
birgersp
Metadata
Metadata
Assignees
Labels
linuxRelated to linuxRelated to linux