Skip to content
Discussion options

You must be logged in to vote

Hi @C-Loftus! I'm Dosu and I’m helping the wails team.

The Wails build can hang at "generating bindings" if your application code doesn't exit cleanly after wails.Run(), or if there are infinite loops or blocking operations—even ones that only run during binding generation. This phase runs your app's main function up to wails.Run() and expects it to terminate promptly; otherwise, the CLI waits indefinitely and can't be interrupted easily [docs].

Common causes include: recursive or complex types in your bindings, issues with local replace directives in go.mod, or dependency lock-ups. Your local replace for Wails (/home/host/go/pkg/mod) could be a factor—try removing it and using the stand…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by C-Loftus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants