Exception after dotnet electronize start #47

Open
opened 2026-01-29 16:28:47 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (Nov 4, 2017).

Originally assigned to: @robertmuehsig on GitHub.

Linux, fedora 27
$ dotnet --version

2.0.2

$ node --version

v8.6.0

$ which electron-packager

/usr/bin/electron-packager

$ touch ./Properties/launchSettings.json
$ dotnet electronize init

Adding our config file to your project...
Search your .csproj to add the needed electron.manifest.json...
Found your .csproj: /home/ilya/edn/edn.csproj - check for existing config or update it.
electron.manifest.json will be added to csproj.
electron.manifest.json added in csproj!
Search your .launchSettings to add our electron debug profile...
Debug profile added!
Everything done - happy electronizing!

$ dotnet electronize start

Start Electron Desktop Application...
Microsoft (R) Build Engine версии 15.4.8.50001 для .NET Core
(C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.

  edn -> /home/ilya/edn/bin/Debug/netcoreapp2.0/win10-x64/edn.dll
  edn -> /home/ilya/edn/obj/Host/bin/

Start npm install...

> uws@0.14.5 install /home/ilya/edn/obj/Host/node_modules/uws
> node-gyp rebuild > build_log.txt 2>&1 || exit 0

> electron@1.7.8 postinstall /home/ilya/edn/obj/Host/node_modules/electron
> node install.js

npm WARN ElectronNET.Host@1.0.0 No description
npm WARN ElectronNET.Host@1.0.0 No repository field.

added 195 packages in 5.628s

Invoke electron.cmd - in dir: /home/ilya/edn/obj/Host/node_modules/.bin
bash: строка 1: electron.cmd: команда не найдена

electron.cmd ? Is it a windows batch script?

Originally created by @ghost on GitHub (Nov 4, 2017). Originally assigned to: @robertmuehsig on GitHub. Linux, fedora 27 **$ dotnet --version** 2.0.2 **$ node --version** v8.6.0 **$ which electron-packager** /usr/bin/electron-packager **$ touch ./Properties/launchSettings.json** **$ dotnet electronize init** Adding our config file to your project... Search your .csproj to add the needed electron.manifest.json... Found your .csproj: /home/ilya/edn/edn.csproj - check for existing config or update it. electron.manifest.json will be added to csproj. electron.manifest.json added in csproj! Search your .launchSettings to add our electron debug profile... Debug profile added! Everything done - happy electronizing! **$ dotnet electronize start** Start Electron Desktop Application... Microsoft (R) Build Engine версии 15.4.8.50001 для .NET Core (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены. edn -> /home/ilya/edn/bin/Debug/netcoreapp2.0/win10-x64/edn.dll edn -> /home/ilya/edn/obj/Host/bin/ Start npm install... > uws@0.14.5 install /home/ilya/edn/obj/Host/node_modules/uws > node-gyp rebuild > build_log.txt 2>&1 || exit 0 > electron@1.7.8 postinstall /home/ilya/edn/obj/Host/node_modules/electron > node install.js npm WARN ElectronNET.Host@1.0.0 No description npm WARN ElectronNET.Host@1.0.0 No repository field. added 195 packages in 5.628s Invoke electron.cmd - in dir: /home/ilya/edn/obj/Host/node_modules/.bin bash: строка 1: electron.cmd: команда не найдена electron.cmd ? Is it a windows batch script?
claunia added the bug label 2026-01-29 16:28:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#47