webview / webview_deno

🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
https://deno.land/x/webview
MIT License
1.4k stars 72 forks source link

🐛 example not working with deno 1.25.0 #134

Closed lukas-runge closed 2 years ago

lukas-runge commented 2 years ago

Hey folks,

just tested the latest version of deno (on ubuntu) with the example provided in the github README of webview_deno and failed with following error:

error: Uncaught (in promise) TypeError: Invalid FFI pointer type, expected null, integer or BigInt
    sys.symbols.webview_navigate(
                ^
    at Webview.navigate (https://deno.land/x/webview@0.7.3/src/webview.ts:204:17)
    at https://deno.land/x/webview@0.7.3/examples/local.ts:13:9

Is the latest version of webview_deno (v0.7.3 as of now) just not compatible yet, or am I doing something wrong?

Kind regards @lukas-runge

toppair commented 2 years ago

Is the latest version of webview_deno (v0.7.3 as of now) just not compatible yet, or am I doing something wrong?

There's a breaking change in latest deno release. Also having the same issue.