-
-
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
package "context" without types was imported #4060
Comments
Same issue with 1.24.0, but with "encoding/json" instead. |
Updating |
I can confirm, updating In the interim, this can be done by cloning the wails repo, entering the |
I am also facing same issue. Steps i followed are
Running wails in development mode
OS Information
Wails Details
GO Details
|
could you show the full solution |
Confirming what Kettek suggests as a fix. @OlongCrab specific terminal commands are as follows
This will create the artefact which you then move to your |
GHA is down https://github.com/dAppServer/wails-build-action/actions/runs/13289752009 I can't adjust people's code like this, so we need a fix as soon as possible @leaanthony @stffabi . |
I'm getting suspicious of Go's backwards compatibility claim 😅 For now, we don't support 1.24 |
|
The GHA default is now 1.23, not ^1.20, people can and should set their own versions anyways :) |
Description
Hi,
I can't run wails dev (or wails build)
I get: internal error: package "context" without types was imported from .PROJECTNAME
go version: go version go1.24.0 windows/amd64
wails cli: Wails CLI v2.9.2
A similar thing happens with a fresh install under WSL
To Reproduce
wails dev
Expected behaviour
Wails dev starts the app
Screenshots
No response
Attempted Fixes
Tried in WSL under Ubuntu
Downgraded golang to 1.23.6
Downgraded Wails CLI to 2.9.0
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: