mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Electron-Packer hangs #1
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 @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
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.
@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):
https://github.com/electron-userland/electron-packager/issues/544
@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