juancarlospaco / webgui

Web Technologies based Crossplatform GUI Framework with Dark theme
https://juancarlospaco.github.io/webgui
MIT License
138 stars 8 forks source link

[Linux] TypeError: undefined is not an object (evaluating 'window.external.invoke') #14

Open cgabriel5 opened 3 years ago

cgabriel5 commented 3 years ago

Hi Juan,

I started working on a package manager GUI sometime last year and settled on webgui. I got pretty far into it but had to stop working on it due to other things taking higher priority. I have some time now and wanted to continue development but I'm getting stumped by this error I was not getting before.

I'm using Thomas's nim_nimble_gui example GUI app to showcase the problem. But basically, clicking any of the 'Nimble commands' buttons does not run their respective Nim backend function/logic. Instead, the console logs the following error: TypeError: undefined is not an object (evaluating 'window.external.invoke').

This used to work, as I remember playing with the example GUI apps. Trying the example app on macOS Big Sur works fine. I also installed Ubuntu 20.04 on a spare machine and got the same error.

Would you happen to have any insight as to what could be causing this error?

example_gui_app__70

juancarlospaco commented 3 years ago

Which OS has the bug?, Windows is kinda buggy, works for me on Arch and Bedrock.

cgabriel5 commented 3 years ago

The issue is happening on my machine running Ubuntu 20.04.

apahl commented 1 year ago

Could you ever get behind this issue? I am seeing the same error on Ubuntu 22.04.