Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

Electron does not open on Linux

Open Isolyth opened this issue 1 year ago • 2 comments

  • Version: 23.6.2
NET8.0, unsure how to find the Node.js version.
  • Target: Linux, testing on a wayland+Nvidia machine

Running the program via 'dotnet tool run electronize start' results in no electron window appearing, and the output of the terminal has a few instances of src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000

Steps to Reproduce:

  1. Attempt to run the program on Linux, possibly with wayland and Nvidia GPU

Gist of entire terminal output of both init and start

Isolyth avatar Nov 24 '24 04:11 Isolyth

This seems to be my fault, I forgot to actually edit program.cs to use electron; I feel like the error should be more descriptive of what the actual issue is though.

Isolyth avatar Nov 24 '24 04:11 Isolyth

Actually, since I still see the error repeated in the terminal, I assume I haven't actually fixed the issue, even though electron does appear now.

Isolyth avatar Nov 24 '24 04:11 Isolyth

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

FlorianRappl avatar Oct 31 '25 17:10 FlorianRappl