webview / webview_deno

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

Demo from web doesn't work #170

Closed jespertheend closed 3 weeks ago

jespertheend commented 2 months ago

The readme states you can run this for a demo:

deno run -Ar --unstable https://deno.land/x/webview/examples/local.ts

but when I do so I get

error: Relative import path "@denosaurs/plug" not prefixed with / or ./ or ../
nhrones commented 3 weeks ago

Same here! Any help with this. I had this issue once before with a DWM app. Don't remember the fix/

nhrones commented 3 weeks ago

Found the problem. See issue #179 above. The file /src/ffi.ts/ is still using 'window' rather than 'globalThis' (errors in Deno2) /src/ffi.ts/ in Github is correct, but the @jsr file still uses 'windows'

eliassjogreen commented 3 weeks ago

Hey! Just released a new x version which should fix it