Electronize start command throws unhandled exception #786

Closed
opened 2026-01-29 16:48:31 +00:00 by claunia · 6 comments
Owner

Originally created by @GevorDanielyan on GitHub (Apr 28, 2022).

Originally assigned to: @GregorBiswanger on GitHub.

Hello everyone. I'm created Blazor Server App in .NET 6, and when I want to start simple Electron application I'm getting the following error:

image

What would be a reason? Can you help me?
Thanks in advance

Originally created by @GevorDanielyan on GitHub (Apr 28, 2022). Originally assigned to: @GregorBiswanger on GitHub. Hello everyone. I'm created Blazor Server App in .NET 6, and when I want to start simple Electron application I'm getting the following error: ![image](https://user-images.githubusercontent.com/10724174/165752596-9bd5e787-3b29-44c1-b5ad-3c078d57a916.png) What would be a reason? Can you help me? Thanks in advance
Author
Owner

@mbielski commented on GitHub (Jun 7, 2022):

Getting the exact same thing. Init threw an error too, but at least it created the manifest file. VS2022 Community, W11, tried both .Net 5 and .Net 6 and got the same error.

@mbielski commented on GitHub (Jun 7, 2022): Getting the exact same thing. Init threw an error too, but at least it created the manifest file. VS2022 Community, W11, tried both .Net 5 and .Net 6 and got the same error.
Author
Owner

@GevorDanielyan commented on GitHub (Jun 8, 2022):

Getting the exact same thing. Init threw an error too, but at least it created the manifest file. VS2022 Community, W11, tried both .Net 5 and .Net 6 and got the same error.

@mbielski , in .NET 6 don't have support, Electronize NET works up to .NET 5. For my side, this issue solved, it can be network issue, please check your firewall, maybe it blocks.

@GevorDanielyan commented on GitHub (Jun 8, 2022): > Getting the exact same thing. Init threw an error too, but at least it created the manifest file. VS2022 Community, W11, tried both .Net 5 and .Net 6 and got the same error. @mbielski , in .NET 6 don't have support, Electronize NET works up to .NET 5. For my side, this issue solved, it can be network issue, please check your firewall, maybe it blocks.
Author
Owner

@mbielski commented on GitHub (Jun 8, 2022):

@GevorDanielyan I dug in this morning to see what might be blocked and noticed a few key things in the output, chief among them that apparently it could not find npm. It appears that my VS install did not add Node even though I had it selected. Small problem, easily fixed. Installing Node has at least gotten me a new error, so that's progress, right?

@mbielski commented on GitHub (Jun 8, 2022): @GevorDanielyan I dug in this morning to see what might be blocked and noticed a few key things in the output, chief among them that apparently it could not find npm. It appears that my VS install did not add Node even though I had it selected. Small problem, easily fixed. Installing Node has at least gotten me a new error, so that's progress, right?
Author
Owner

@GevorDanielyan commented on GitHub (Jun 8, 2022):

@mbielski using Electron, you are supposed to have installed NodeJs before using Electron NET.

@GevorDanielyan commented on GitHub (Jun 8, 2022): @mbielski using Electron, you are supposed to have installed NodeJs before using Electron NET.
Author
Owner

@mbielski commented on GitHub (Jun 8, 2022):

@GevorDanielyan yes, I know that. You generally expect something to be installed when you check the box for it. I still have a problem with electronize init but am pursuing that in the appropriate issue. Thanks.

@mbielski commented on GitHub (Jun 8, 2022): @GevorDanielyan yes, I know that. You generally expect something to be installed when you check the box for it. I still have a problem with electronize init but am pursuing that in the appropriate issue. Thanks.
Author
Owner

@GregorBiswanger commented on GitHub (Mar 28, 2023):

🎉🚀 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 commented on GitHub (Mar 28, 2023): 🎉🚀 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#786