-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Mac] Can not show the UI when exec 'wails dev' #1504
Comments
Thanks for reporting this issue and using Wails. Just a couple of questions to hopefully narrow down the problem.
|
thx, I need your help -_- :
|
Thanks for your answers. Let's stick with the vanilla template case. Can you please create again a new vanilla template in a new empty folder, just to make sure there's no mixed content. Also please make sure there's no other When running
|
Sounds like a vite error if plain works |
@stffabi @leaanthony Actually I used raw template
|
According to this it seems like you are still running something on that port, seems like your Per default the vue template tries to use Could you please try again the tests above? You should now see the |
I suspect you might also be affected by issue #1358. Could you please also try this #1358 (comment) ? |
@stffabi emmm, the problem of |
I add these config in |
@cxt90730 awesome that it works now for you 👍 We would like to document this in a troubleshooting guide #1508 . It would be great to find the minimal settings needed to get it working, especially Apple has a "AllowLocalNetworking" flag. Would it be possible for you to give the following settings in your Info.plist a try, that would be awesome? <key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict> |
@stffabi your settings works~~ 👍 |
Awesome, thanks so much for testing the settings. So we could add those to the troubleshooting guide. |
I can confirm that the minimal fix above works with Vue3 and Vite. Thanks for the fix! |
Just ran into this, and the manual plist fix that's documented works! However, I'm seeing it on macOS 11.4, which is currently only one version behind the latest. Shouldn't |
Hi @robbles - I think there's an argument for that. How do you think it should work? Perhaps we could generate |
I have to admit, I'm not familiar enough with how these are generated. But it seems like a reasonable solution. I think having an |
Thanks for the feedback. Added a proposal in the linked issue |
@robbles - Please try the above PR to see if this fixes your problem. If you are unsure how to do this, please follow this guide. Let us know how you get on 👍 |
Tried it out, and works perfectly! Thanks for fixing this, sorry about the delay in testing it. |
Awesome! Thanks for letting us know. This was a great suggestion. Here's a virtual beer 🍻 👍 |
Description
Can not show the UI when exec 'wails dev' (just an empty window), but web ui works. Also, the app created by 'wails build' works too.
To Reproduce
wails dev on my Mac(10.15 catalina)
Expected behaviour
the UI when exec 'wails dev' works
Screenshots
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: