Cannot Start Web App on Linux
See original GitHub issueI created a blank Avalonia template for cross-platform app. I open it in Jetbrains Rider.
I try to debug the Web project in FireFox. It requests to install Microsoft.AspNetCore.Components.WebAssembly.DevServer
so I do.
If I try to debug, now I get this error
class com.intellij.ide.browsers.firefox.FirefoxSettings cannot be cast to class com.intellij.ide.browsers.chrome.ChromeSettings (com.intellij.ide.browsers.firefox.FirefoxSettings and com.intellij.ide.browsers.chrome.ChromeSettings are in unnamed module of loader com.intellij.util.lang.PathClassLoader @769c9116)
If I run the app without debugging, I get a blank page in my browser.
I have a separate Blazor project that runs fine.
OS: Garuda Linux (Arch-based) Avalonia v11 preview 4 and 5
Issue Analytics
- State:
- Created 7 months ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
Azure webapp on linux not starting
We are publishing a dotnet 6 app to a webapp running on a linux plan. In the logs we find the following error:....
Read more >My app not starting anymore - Microsoft Q&A
I tried to check all logs, from Azure portal, regarding application, deployment, and container logs. In some logs in "container crash" it says ......
Read more >My Azure Web Application on Linux is not working. The ...
1 Answer 1 ... Deploy the build folder generated after npm run build to the /home/site/wwwroot folder path. Then add startup command on...
Read more >How To Troubleshoot Common Site Issues on a Linux Server
If your web server was unable to start, this is usually an indication that your configuration files need some attention.
Read more >[SOLVED] Applications won't launch with no error messages
Hi At first I have to say that I've been a Linux Mint user since yesterdeay. My problem is that, some new applications...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think @amwx is working on a new solution for the Windowing stuff which will remove this limitation. See also https://github.com/amwx/FluentAvalonia/pull/307
I assume it’s an app and not dialogs library. In this case, if your .Desktop project has BuildAvaloniaApp, you can add “.AfterSetup()” there and add style from C# code directly to the Application.Current.
Ideally, FluentAvalonia.UI.Windowing shouldn’t reference Avalonia.Desktop project. But IIRC there was some specific reason for that on their side.