You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run an application inside of GitHub Codespaces, the front end works fine with the port forward, however, because of the headless version, GTK/Tao crashes. I was wondering if there is a way to fix this?
Reproduction
Open a repository in the GitHub Codespace
Run either cargo tauri dev or npm run tauri dev and see the backend crash
Expected behavior
To leave the front end (Vite) working as usual, and leave the backend GTK initialisation to if there is a found display.
thread 'main' panicked at /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.31.1/src/platform_impl/linux/event_loop.rs:212:53:
Failed to initialize gtk backend!: BoolError { message: "Failed to initialize GTK", filename: "/home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk-0.18.2/src/rt.rs", function: "gtk::rt::init", line: 141 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Additional context
Just so you know, Im not quite sure if this is a Tauri issue or a Tao issue for the window initialisation.
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to run an application inside of GitHub Codespaces, the front end works fine with the port forward, however, because of the headless version, GTK/Tao crashes. I was wondering if there is a way to fix this?
Reproduction
cargo tauri dev
ornpm run tauri dev
and see the backend crashExpected behavior
To leave the front end (Vite) working as usual, and leave the backend GTK initialisation to if there is a found display.
Full
tauri info
outputStack trace
Additional context
Just so you know, Im not quite sure if this is a Tauri issue or a Tao issue for the window initialisation.
The text was updated successfully, but these errors were encountered: