Comments (13)
I could but as I mentioned it was a fresh VM with fresh Go install and fresh wails install.
from wails.
It could be a mismatch between a 1.21 built CLI and a 1.22 built project. I'm not sure how... perhaps an issue with the Go module cache? Could you please try 1.22 again but make sure you clean out the Go caches:
go clean -cache
go clean -modcache
- Install Wails CLI using Go 1.22
- Generate project
wails build
from wails.
I just reproduced it. Absolutely looks like an issue with Go itself. I'll try open an issue on the Go repo today
from wails.
Ohh (waves hand), I'm no hero...
from wails.
Been tinkering switching between go versions
so "go install wails" with 1.21 creates a good wails CLI (build works)
"go install wails" with 1.22 creates bad wails CLI (panic)
just fyi, not sure if this informs anything you didnt already know.
from wails.
Do you use Goland or VSC? Perhaps if we create a new project using the -ide
flag and load it in the IDE, we could run it in debug mode and hopefully get some context about which Go command is causing this.
from wails.
@leaanthony both. We have multiple devs on our team, some use Goland on win, some VSCode.
from wails.
I was also able to reproduce it on macOS. Building wails
cli with go1.22.0. It also happens with wails dev
just after executing go mod tidy
. Manually building the wails app directly with go works also.
The culprit seems to be golang.org/x/tools
, after updating it to at least v0.13.0
the wails
cli started to be working again, if the cli was built with go1.22
.
It seems like the issue has already been reported at the go repo golang/go#64812
from wails.
PR to bump x/tools is up #3244
from wails.
@acastruc would it be possible for you to give the PR #3244 a try?
from wails.
@acastruc would it be possible for you to give the PR #3244 a try?
standby
from wails.
@stffabi fix verified, thanks
from wails.
Released as part of v2.8 👍
from wails.
Related Issues (20)
- Add `skip go mod tidy` option to `wails dev` HOT 6
- Wails3 alpha: Left clicking the systray crashes the app when systray is in flyout (Windows)
- Improvement Proposal for Browser-Only Development Mode in Wails HOT 2
- Update vite version HOT 1
- Propose Change: Default Module Name to Project Name HOT 3
- Adding Linux Options to main.go kills the frontend. HOT 2
- Build with just production webapp url HOT 2
- Incorrect installation & docs for macOS HOT 5
- Add a way to disable the zoom button on mac
- following the manual, failed to do notarization on mac HOT 3
- when Run build command: wails build, I got a errror no package webkit2gtk-4.0 found
- Hi, I submitted a PR for a security issue and a fix patch, please take a look. HOT 1
- v3: Incorrect 'startURL' with 'FRONTEND_DEVSERVER_URL' present HOT 1
- Can't run it on windows server 2012 r2 datacenter HOT 2
- Improve Error Handling HOT 7
- varly app domain expired HOT 1
- failed to find Vite server URL HOT 3
- Windows Defender false detects even an empty initial project as malware HOT 6
- [v3] Windows, cannot expand option after import runtime.js.
- exec: "npm": executable file not found in $PATH HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wails.