Closed psidex closed 5 years ago
Hi. Can you please test with the latest prerelease? wails update -pre
Thanks!
On Sat, 26 Oct 2019, 07:54 Simon, notifications@github.com wrote:
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 server 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
- cd to the project directory and run wails build
- Run the projectname.exe file
- See error
OR
- Create a new project using wails init
- cd to the project directory
- Run wails serve
- 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?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wailsapp/wails/issues/278?email_source=notifications&email_token=AAO2SYGOUMKOGUL65DN7UKDQQNMIVA5CNFSM4JFJA44KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUPN5ZQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO2SYAGIEDN647LTBGLRWTQQNMIVANCNFSM4JFJA44A .
I'm on v0.18.13-pre
and it says that's the latest prerelease?
I am getting the same error
Update: I now have serve working correctly, even through IE. However the built app still throws the same error, which is weird as it's the same code going to the same web engine. Still debugging.
Please check out the file attached to this comment(https://github.com/wailsapp/wails/issues/259#issuecomment-547284087). webview_fix_ie_compat_mode() and more functions fixed.
I'm also having this issue. I tried the patch above, and I don't know if I built wails wrong but it didn't seem to resolve the issue for me
Please let me know if v0.18.15-pre fixes this. wails update -pre
. Thanks!
Didn't fix it for now
Are you using Windows 7 or 10? It's working fine for me on Windows 10.
On Sun, 3 Nov 2019, 11:13 David Li, notifications@github.com wrote:
Didn't fix it for now
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wailsapp/wails/issues/278?email_source=notifications&email_token=AAO2SYD5G45223ZPEM6QOA3QRYJTFA5CNFSM4JFJA44KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC5H2TA#issuecomment-549092684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO2SYEUFQ6T3J6PXBXCXSTQRYJTFANCNFSM4JFJA44A .
Tested on Win 10, wails serve
is now working fine for me.
@leaanthony wails serve has always worked for me, wails build is still failing for me.
Hi. Please run wails update -pre
to get v0.19.0-pre2
. Let me know if this fixes your issue. Thanks
Still failed for me
On Wails v0.19.0-pre2 - Building Application
Didn't update or regenerate go.mod
Hi Lea,
for me wails 0.190-pre2 now works also with the built .exe on Windows 10. But I had to recreate (wails init) a new project. After that it seems to work. Thanks!
Awesome. Due to dependency versioning, you will need to either update go.mod or regenerate.
On Tue, 5 Nov 2019, 08:25 Lukas Vosyka, notifications@github.com wrote:
Hi Lea,
for me wails 0.190-pre2 now works also with the built .exe on Windows 10. But I had to recreate (wails init) a new project. After that it seems to work. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wailsapp/wails/issues/278?email_source=notifications&email_token=AAO2SYFDX7JB3WXXPCOXDVDQSCHLRA5CNFSM4JFJA44KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDAYOTY#issuecomment-549553999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO2SYF23BF7JGCHDN72RPLQSCHLRANCNFSM4JFJA44A .
Worked for me when I reinit the wails project.
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:
wails init
cd
to the project directory and runwails build
projectname.exe
fileOR
wails init
cd
to the project directorywails serve
and the stop itwails serve
is run it works fine. It's only the second time and onward that it breaks, so runwails serve
againExpected 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
:https://pastebin.com/4JBWNeDY
System Details
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.