21 questions
1
vote
0
answers
20
views
Using GORM models in frontend of Wails app
I'm building a desktop app with Wails which writes to a local SQLite database.
I have the following model in my Go backend:
type FilmGroup struct {
gorm.Model
Films []FilmRoll
...
0
votes
3
answers
52
views
Getting data on button click, waiting for it to be stored and then updating component
I have a Wails app (React frontend - Go backend), and I am trying to do the following:
Receive button click -> Do a query on the backend -> receive response from backend -> store response on ...
0
votes
0
answers
74
views
Even though I upgraded, I can't get my wails application up and running
I pulled a project from git and there were no wails.json files. I created it manually but Assets: application.AssetOptions{
Handler: application.AssetFileServerFS(assets),
}, in ...
0
votes
1
answer
256
views
How to update wails build?
gregoriusdimas ~/golang/second-wails v1.20 07:07 wails build
Wails CLI v2.8.1
# Build Options
Platform(s) | linux/amd64
Compiler | ...
1
vote
0
answers
142
views
Exposing API endpoints in Wails with Axios (404)
I'm creating a desktop app using Wails with React.JS, I have a simple endpoint I want to expose, I'm using Axios to make requests from the React.JS Component, in the backend, I'm using echo to expose ...
0
votes
0
answers
167
views
Pocketbase with Wails
How to package pocketbase with a windows application built with wails. Such that the build application when launched creates a pb_data folder with the db in it, and the application can interact with ...
1
vote
1
answer
146
views
Asset error in wails appliction converted from react application
I have made a react project with vite, and it works correctly. Now I want to make a desktop appliction from react project using wails framework of golang, I have built the application but when I run ...
0
votes
1
answer
978
views
symbol lookup error: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
I'm running the Apache AGE-viewer-Go Project
using the wails build command to run the Desktop application in Ubuntu 22.04.
I'm using wails version v2.4.1 and go version go1.20.4
when I run the command ...
0
votes
2
answers
782
views
failed to find Vite server URL while running front end of apache age viewer Desktop (Go)
I'm trying to run front end of the Age-viewer-go
on ubuntu 22.04
using the wails dev command in age-viewer folder of the project.
but it gives the following error as shown in the image
failed to find ...
1
vote
0
answers
138
views
Adding a Download Logger in Wails V2 from Go Backend to Display on a ReactJS Frontend
I am currently attempting to show log results (both Info and Error) to the frontend of a Wails V2 / React application.
Backend code:
for results.Next(ctx) {
var singleTrack Track
if err = ...
2
votes
1
answer
201
views
npm ERR! while running wails dev or wails build command for age-viewer-go
I need to run the age-viewer-go project when I run wails dev or wails build command in the main directory it run well but only one page is shown up with start button and that button does not work.
I ...
0
votes
3
answers
2k
views
Command 'wails' not found in linux, Error installing wails Go [closed]
I'm trying to install wails in Ubuntu 22.04.
Go version go1.20.3 and NPM version 6.14.11 are already installed on my system.
I followed all steps from the official website tutorial.
There have been no ...
-1
votes
2
answers
613
views
How to set Wails path for Go on Mac? [closed]
I'm trying to use Wails with Go on my Mac, but I'm having trouble setting the correct path. I have installed both Wails and Go, but when I try to build my Wails application using wails build, I get an ...
1
vote
1
answer
1k
views
Issue using wails asset handler using custom router
I am trying to use a custom multiplexer with the Wails asset handler, however when trying to fetch anything I keep getting the index.html page. I have added a print statement at the top of the ...
0
votes
2
answers
514
views
Setting GO path in environment variables ~/go/bin
I have installed Go and if i check Go version it returns me
go version go1.20.3 darwin/amd64
Now i want to setup wails
I first enter
go install github.com/wailsapp/wails/v2/cmd/wails@latest
but when ...