mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electronize start command throws unhandled exception #786
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
What would be a reason? Can you help me?
Thanks in advance
@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.
@GevorDanielyan commented on GitHub (Jun 8, 2022):
@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.
@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?
@GevorDanielyan commented on GitHub (Jun 8, 2022):
@mbielski using Electron, you are supposed to have installed NodeJs before using Electron NET.
@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.
@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!