wails: Error when either running `wails serve` or running executable generated by `wails build`
Description
An error message pops up when I try to run the executable generated by wails build.
Dismissing this message by either pressing “yes” or “no” closes the error window and the normal window is just a blank white box.
In a similar vein, running wails serve gives an error - https://pastebin.com/4JBWNeDY.
Unfortunately the output is not too helpful.
To Reproduce
Steps to reproduce the behaviour:
- Create a new project using
wails init- This was tested with both React and Vue project templates
cdto the project directory and runwails build- Run the
projectname.exefile - See error
OR
- Create a new project using
wails init cdto the project directory- Run
wails serveand the stop it - Interestingly enough, the first time
wails serveis run it works fine. It’s only the second time and onward that it breaks, so runwails serveagain - See error
Expected behaviour
The app opens and displays the default wails project page.
Screenshots
wails build:
Error: https://i.imgur.com/kp1Ff9T.png
After error closed: https://i.imgur.com/Bxj0G4N.png
wails serve:
System Details
| Name | Value |
|---|---|
| Wails Version | v0.18.13-pre |
| Go Version | go1.13.1 |
| Platform | windows |
| Arch | amd64 |
| GO111MODULE | (Not Set) |
| GCC | 4.8.3 |
| Npm | v10.16.3 |
| Node | 6.9.0 |
Additional context
This is basically 2 issues in one but I think they are possibly related?
Also just as a side note I have switched over to tdm-gcc and this still happens.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (6 by maintainers)
Still failed for me
On Wails v0.19.0-pre2 - Building Application
Didn’t update or regenerate go.mod
I’m on
v0.18.13-preand it says that’s the latest prerelease?