You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @PaiHL, I encountered a similar issue to this and found a solution. It appears to be from the toolchain command in go.mod, and looking it up that is a feature from Go 1.21. As you are using 1.20.9, try updating to at least 1.21 and try the commands again.
Hi @PaiHL, I encountered a similar issue to this and found a solution. It appears to be from the toolchain command in go.mod, and looking it up that is a feature from Go 1.21. As you are using 1.20.9, try updating to at least 1.21 and try the commands again.
Description
dev@devdeiMac-Pro code % go install github.com/wailsapp/wails/v2/cmd/wails@latest
go: github.com/wailsapp/wails/v2/cmd/wails@latest (in github.com/wailsapp/wails/[email protected]): go.mod:5: unknown directive: toolchain
To Reproduce
dev@devdeiMac-Pro code % go install github.com/wailsapp/wails/v2/cmd/wails@latest
go: github.com/wailsapp/wails/v2/cmd/wails@latest (in github.com/wailsapp/wails/[email protected]): go.mod:5: unknown directive: toolchain
Expected behaviour
dev@devdeiMac-Pro code % go install github.com/wailsapp/wails/v2/cmd/wails@latest
go: github.com/wailsapp/wails/v2/cmd/wails@latest (in github.com/wailsapp/wails/[email protected]): go.mod:5: unknown directive: toolchain
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: