Closed yusufmalikul closed 2 weeks ago
Use Go 1.18 or Go 1.19 solved the issue. I'm not sure what happen with Go 1.21.0 making the installation fail.
That's so weird. If you've uninstalled 1.20, you could perhaps try reinstalling and trying again?
Reinstalling go 1.21.0 -> fail installing wails (same error no non-test Go files
)
Reinstalling go 1.18.10 -> succeed installing wails
I have no idea why.
That's so weird. Will check 👍
FYI, I think this issue only happen with Go 1.21.0 I tried with Go 1.21.1 (latest stable) the installation works fine.
Can we close this and just recommend using >=1.21.1?
Does the same thing happen when you clone the repo and run go install
in v2/cmd/wails
?
I can't reproduce this with Go 1.20, 1.21 or 1.22.
Description
To Reproduce
Follow installation instruction on: https://wails.io/docs/gettingstarted/installation
Expected behaviour
wails v2 installed successfully.
Screenshots
No response
Attempted Fixes
no luck
System Details
Additional context
macOS 12.6.8 go env: