Repository navigation
Running the wails first time--Need help #5171
Replies: 1 comment
|
Your doctor output points to the Ubuntu 24.04 WebKit dependency issue documented by Wails. With Wails v2 on this distribution, install the WebKit 4.1 development package and pass the corresponding build tag: sudo apt install libwebkit2gtk-4.1-devThen run this from the project root: wails dev -tags webkit2_41 -browserThe native window should open once the Go application compiles and starts. For browser development, use the Wails dev-server URL printed in the terminal, normally The
References: Ubuntu 24.04 / WebKit installation note and Wails dev command, browser URL and build tags. If the native window still does not open, please share the full output of |
Uh oh!
There was an error while loading. Please reload this page.
Hi Team,
I just stumbled about wails project while researching about rust based tauri alternatives. I just created a wails react project and ran the command
wails dev. The app opens in the browser but when I enter the name and click on greet the browser console throws the below error:Here is the output of the
wails doctorcommand.The below screenshot show the installed
libwebkitdependencyIt seems that the backend go logic is not plumbed correctly. Does the command
wails devinstall the go dependencies as well? Could you please let me know how to open the app in the native UI and also in the browser for development.Thanks,
Arun
All reactions