Questions tagged [wails]

Wails is a framework for building desktop apps using Go & Web Technologies

Wails web site

18 questions
3
votes
1 answer

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 asked a friend he told me to run waisl dev…
2
votes
0 answers

How to set Vuetify 3 in a Wails project to fix "Could not find defaults instance"?

I have created a Wails project: wails init -n myproject -t vue-ts cd myproject Then I installed Vuetify with: npm install vuetify@^3.1.5 --save Then, I've set Vuetify by replacing the content of frontend/src/main.ts: import {createApp} from…
DevonDahon
  • 7,460
  • 6
  • 69
  • 114
2
votes
1 answer

Using gRPC with Electron 14

I've inherited a web application, whose backend is written in Go Lang and uses gRPC and protocol buffers to communicate with the Angular 8 frontend. The old developer was using Wails to bind Go method to the frontend and to build an exe, as…
Rita Piscopo
  • 39
  • 1
  • 4
1
vote
0 answers

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 = results.Decode(&singleTrack); err != nil { …
Jamie_D
  • 979
  • 6
  • 13
1
vote
1 answer

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 ServeHTTP function of the multiplexer, but this only…
nigel239
  • 1,485
  • 1
  • 3
  • 23
1
vote
1 answer

Yocto Fails to Cross-Compile GoLang Wails Application

I am using Yocto Kirkstone to build a system for an ARMv7 custom embedded Linux board. I have go-runtime version 1.20 in my Yocto meta layers. I am trying to build a simple example GoLang 'wails' (https://github.com/wailsapp/wails) application that…
PhilBot
  • 748
  • 18
  • 85
  • 173
1
vote
1 answer

Golang wails How to send data from go to js when dom ready and window is opened

what i need to do in domReady func or ...? func (a App) domReady(ctx context.Context) { } and in index.html Cant understand how to send data from go to js when dom ready and window is opened Thx.
bsbak
  • 719
  • 1
  • 6
  • 18
0
votes
1 answer

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 wails dev in age-viewer folder of the project it…
0
votes
3 answers

Command 'wails' not found in linux, Error installing wails Go

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 errors with the steps mentioned in above…
0
votes
0 answers

Port duplication error using socket programming in Golang

Using this type of function, whatever port I use, it gives error of duplicate port. Is there any way to know which port to be used specifically for connection with PG. package main import ( "fmt" "net" ) const ( SERVER_HOST =…
0
votes
0 answers

Create macos applications using the go wails framework. No permission to create a tun NIC

Create macOS applications using the go wails framework. No permission to create a tun NIC log: 2023/03/01 21:20:31 failed to create tun interface: error in syscall.RawSyscall(syscall.SYS_CONNECT, ...): operation not permitted I tried to add the…
cool hsm
  • 9
  • 1
-1
votes
2 answers

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 the Vite server URL
-1
votes
2 answers

How to set Wails path for Go on Mac?

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 error message saying "Go not found on path." How…
-1
votes
2 answers

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 i enter wails doctor will check if you have the…
-1
votes
2 answers

Import package from another module

I have to create a desktop app on top of existing Go backend code, since this requirement and my knowledge in web development I'm using Wails. With Wails CLI I generated the desktop app project in a subfolder of the back end main project. This is…
chenny
  • 769
  • 2
  • 17
  • 44
1
2