mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
It starts, but no window appears, when I am not using 'electronize build /trarget linux' #802
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WakanaYuki on GitHub (Jun 8, 2022).
Version: 13.5.1.0
.NET Core Version: 5.0.408 (also tried 6.0.102)
Node.js Version: v18.3.0
npm version: 8.11.0
Target: Linux
Steps to Reproduce:
This is the output:
./electron "../../main.js" --watch=true
Electron Socket IO Port: 8000
Electron Socket started on port 8000 at 127.0.0.1
ASP.NET Core Watch Port: 8001
After the console prints this nothing else happens. No electron window opens. I have waited an hour, running it in the background and no electron window ever started. There are electron processes starting in the background (can be seen in htop ot kSysGuard), but no electron window ever opens!
Also, when using 'electronize build /trarget linux' it runs an electron window, when starting the output binary.
@WakanaYuki commented on GitHub (Jun 8, 2022):
Turns out that the dotnet installer did not install the asp.net core runtime.
Rider did run everything, but when I tried dotnet run it gave me a missing runtime error.
Installing aspnetcore-runtime fixed the problem for me.
If you ever run into this issue, please try running dotnet run and see if any runtime errors occur, they may cause this problem.