-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Exception: A Javascript error occurred in the main process in (version 11.5.1) #536
Comments
We have the same problem with version 11.5.1 and a Blazor Server App (.NET 5). We would like to continue using Electron.Net in the future because it looks like the new WebWindow in .NET 6 has too many requirements for the user (installed browser). Uncaught Exception: |
I have the exact same issue as @peerem, using 11.5.1 and Blazor in .NET 5. I'm on macOS if that changes anything. Anyone figure out a workaround yet? I would like to get my project started |
Issue still happening. I'm totally unable to run my app. |
I switched to Chromely and I am happy. |
Please manually remove the host folder from the Obj directory. Then the problem should be fixed. |
And please use the latest version of Electron.NET + Electron.NET CLI! (Version 13.5.1) |
Hi there, I've been having the same problem as mentioned above. I've deleted the Obj folder as recommended by @GregorBiswanger , but it didn't solve the problem. The strange thing is: when I run the project with electronize start /watch, it works just fine... It only throws this bug when trying to build or using electronize start. I'd really appreciate any help with this issue, best regards. |
I am having exactly the same problem as Reinaldo. Is there any fix to this, or are there ways round it. When it works with the /watch however I get a browser window appearing, and then the app window |
Had a revelation with this. My electron.manifest.json had empty strings in executable and productName. Populating these caused it to run up succesfully without the /watch { |
@AndyMedtronic You are an angel! Thanks a lot for sharing your experience, with your help I was able to figure out what I was doing wrong. I will share it here for anyone having this problem. Basically, I had changed the name of my project from OpenManga to Lexi. So my configuration was looking like this: "executable": "Lexi", As soon as I changed the names back to the original "OpenManga", everything worked fine! You have to be careful when renaming these kinds of things haha. |
Since this issue is still open. I had renamed my Visual Studio Solution and the electronize build failed afterwards. I rerun electronize init and it recreated the electron.manifest.json with a different executable and name. Then the build worked again. |
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉 With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun! |
@GregorBiswanger I still got that problem on Electron.CLI 23.6.1 with .NET 6 and i got no clue why |
same issue here. such a shame electron doesnt work. |
Hi,
ElectronNET.API version - 11.5.1.0
.NET 5
NodeJS version - v12.16.3
Blazor Serverside project is running using the ElectronNET framework.
Steps to Reproduce:
Please let me know if there is any fix or workaround for the issue.
Any help?
Thanks,
Ram.
The text was updated successfully, but these errors were encountered: