Electron-Packer hangs #1

Closed
opened 2026-01-29 16:27:14 +00:00 by claunia · 3 comments
Owner

Originally created by @robertmuehsig on GitHub (Oct 17, 2017).

Electron Packer hangs... produces this output and then nothing happens:

PS D:\Code\GitHub\ElectronNET\ElectronNET.WebApp> dotnet electronize build osx
Build Electron Application...
Executing dotnet publish in this directory: D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop
Build ASP.NET Core App for osx-x64...
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp>dotnet publish -r osx-x64 --output "D:\Code\GitHub\ElectronNET\ElectronNET
.WebApp\obj\desktop\bin"
Microsoft (R) Build Engine version 15.4.8.50001 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

ElectronNET.WebApp -> D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\bin\Debug\netcoreapp2.0\osx-x64\ElectronNET.WebApp
.dll
ElectronNET.WebApp -> D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop\bin\

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp>
Start npm install...
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>npm install
up to date in 1.289s

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>
Start npm install electron-packager...
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>npm install electron-packager --global
C:\Users\Robert\AppData\Roaming\npm\electron-packager -> C:\Users\Robert\AppData\Roaming\npm\node_modules\electron-packa
ger\cli.js

  • electron-packager@9.1.0
    updated 1 package in 6.459s

D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>
Build Electron Desktop Application...
Executing electron magic in this directory: D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\bin\desktop
Package Electron App for Platform darwin...

I found some similar problems in the electron issue list:

https://github.com/electron-userland/electron-packager/issues?q=is%3Aissue+hangs+is%3Aclosed

I saw this "error" also on appveyor yesterday. I'm not sure why, but I can't build the osx package on my windows device.

Originally created by @robertmuehsig on GitHub (Oct 17, 2017). Electron Packer hangs... produces this output and then nothing happens: PS D:\Code\GitHub\ElectronNET\ElectronNET.WebApp> dotnet electronize build osx Build Electron Application... Executing dotnet publish in this directory: D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop Build ASP.NET Core App for osx-x64... Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved. D:\Code\GitHub\ElectronNET\ElectronNET.WebApp>dotnet publish -r osx-x64 --output "D:\Code\GitHub\ElectronNET\ElectronNET .WebApp\obj\desktop\bin" Microsoft (R) Build Engine version 15.4.8.50001 for .NET Core Copyright (C) Microsoft Corporation. All rights reserved. ElectronNET.WebApp -> D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\bin\Debug\netcoreapp2.0\osx-x64\ElectronNET.WebApp .dll ElectronNET.WebApp -> D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop\bin\ D:\Code\GitHub\ElectronNET\ElectronNET.WebApp> Start npm install... Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved. D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>npm install up to date in 1.289s D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop> Start npm install electron-packager... Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved. D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop>npm install electron-packager --global C:\Users\Robert\AppData\Roaming\npm\electron-packager -> C:\Users\Robert\AppData\Roaming\npm\node_modules\electron-packa ger\cli.js + electron-packager@9.1.0 updated 1 package in 6.459s D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\obj\desktop> Build Electron Desktop Application... Executing electron magic in this directory: D:\Code\GitHub\ElectronNET\ElectronNET.WebApp\bin\desktop Package Electron App for Platform darwin... I found some similar problems in the electron issue list: https://github.com/electron-userland/electron-packager/issues?q=is%3Aissue+hangs+is%3Aclosed I saw this "error" also on appveyor yesterday. I'm not sure why, but I can't build the osx package on my windows device.
Author
Owner

@robertmuehsig commented on GitHub (Oct 18, 2017):

had the same issue with the "Start npm install..." maybe we ignore some error code and get stuck?

It seems, when the npm_modules are not there or the electron packer is not "installed" with the correct dependencies, then this happens

@robertmuehsig commented on GitHub (Oct 18, 2017): had the same issue with the "Start npm install..." maybe we ignore some error code and get stuck? It seems, when the npm_modules are not there or the electron packer is not "installed" with the correct dependencies, then this happens
Author
Owner

@robertmuehsig commented on GitHub (Oct 18, 2017):

https://github.com/electron-userland/electron-packager/issues/544

@robertmuehsig commented on GitHub (Oct 18, 2017): https://github.com/electron-userland/electron-packager/issues/544
Author
Owner

@robertmuehsig commented on GitHub (Oct 18, 2017):

if the next commit doesnt solve the problem, maybe the /c switch is needed https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output

@robertmuehsig commented on GitHub (Oct 18, 2017): if the next commit doesnt solve the problem, maybe the /c switch is needed https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1