Closed ThomasSzabo closed 4 years ago
Hmm... interesting. It must be something to do with the OSX version. I'll look at it over the next couple of days.
Do you get any output on the console? If not, please compile using wails build -d
and run with: hello -loglevel debug
I'm seeing what could be the same issue. Fresh project with the Vue 2 template is only displaying a blank window. Never mind, sorry, I was using the wrong build command. 🙄
Hi
This is not only on MacOSX. I have a Linux Mint 19 with the same behavior. I am on a new folder without any files and will create a new Project. I make a wails init with and without the -name parameter and become a blank webview window. As well if i type wails build -d in a blank folder. I can not create a new wails project with the init command
I can not use any wails commands. As well if i type wails setup or only i type wails or i type wails --help. Every command give me no output in the console, and a blank webview windows
regards thoralf
I'm so sorry. The problem was a mistake from me. I have create and build a project named wails and its override the binary in my $G_BIN path. I have deleted this binary and now it works for me.
I can't duplicate this issue with the React UI when running Mojave 10.14.4:
Software | Version |
---|---|
Node | v12.14.1 |
npm | 6.13.4 |
go | 1.13.5 |
gcc | Apple 10.0.1 (clang-1001.0.46.4) - 4.2.1 |
Wails | 1.0.2-pre3 |
Unfortunately I cannot update OS X past this because of space issues on the box. I would recommend trying a newer version of Wails and seeing if the issue goes away along with updating the other dependencies as well.
I just tested Wails 1.0.1 (released version) as well on the same environment and it works perfectly. You get a window with a spinning Wails logo and a button that shows a dialog with the basic()
message from the main.go.
Any updates @ThomasSzabo ?
Sorry @leaanthony I moved on testing zserge's webview directly.
Cool. I'll close this.
same problem on macos 10.13.6
This issue is a year old. Please open a new ticket if you have an issue
Description
I run
wails init
and create a new project using the React template. Then Icd
into the new project folder and runwails build -d
. After the build completes, I am simply calling the binary, which opens the app's view that shows a blank screen. A right click only shows "reload". I am on a Mac OS 10.14.5. The app works fine when I runwails serve
andnpm run start
on the frontend... the browser shows everything perfectly.To Reproduce Steps to reproduce the behaviour:
wails init
wails build -d
Expected behaviour I expect to see the HTML page in the app's view.
Screenshots The log of
wails init
processSystem Details
Additional context Add any other context about the problem here.