-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wails CLI V2 go install failed on MacOS 10.15 #1882
Comments
Thanks for using Wails and reporting this. Unfortunately I'm unable to reproduce this, neither with |
after go clean -modcache,it still reports the same error,the log is as follows
|
When reporting bugs, please give the output of |
This is a failure to install the wails cli, so I can't execute the [wails doctor] command at all. I just tried to upgrade golang to 1.19, and the error is still there. Since the go install command has nothing to do with the mod configuration of the project, is there a problem with dependencies? From the direct error message in the log, is it related to golang.org/x/exp? |
Could you post your 'go env' output? |
I can reproduce it when using @sean220 do you probably use |
Thanks, indeed caused by GOFLAGS,it works. |
Great that it works for you. I'm closing this issue, because it's beyond our control and should get fixed with golang/go#54908 |
go version 1.18
go install github.com/wailsapp/wails/v2/cmd/wails@latest
.../go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:13:2: embedding interface element ~int|~int8|~int16|~int32|~int64 requires go1.18 or later (-lang was set to go1.16; check go.mod)
.../go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:20:2: embedding interface element ~uint|~uint8|~uint16|~uint32|~uint64|~uintptr requires go1.18 or later (-lang was set to go1.16; check go.mod)
...go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:27:2: embedding interface element Signed|Unsigned requires go1.18 or later (-lang was set to go1.16; check go.mod)
.../go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:34:2: embedding interface element ~float32|~float64 requires go1.18 or later (-lang was set to go1.16; check go.mod)
.../go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:41:2: embedding interface element ~complex64|~complex128 requires go1.18 or later (-lang was set to go1.16; check go.mod)
.../go/pkg/mod/golang.org/x/[email protected]/constraints/constraints.go:49:2: embedding interface element Integer|Float|~string requires go1.18 or later (-lang was set to go1.16; check go.mod)
The text was updated successfully, but these errors were encountered: