-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hangs when unzipping prebuilt Electron binary on Windows 7, due to missing Powershell dependency #1022
Comments
👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
Make sure you have the correct dependencies for unzipping installed (which are also mentioned in the README). |
Mark,
Thank you for the information. I use .net so I would think they are in my machine but I will double check.
Appreciate the quick response. This has been driving me crazy!
Andy
From: Mark Lee [mailto:[email protected]]
Sent: Wednesday, June 26, 2019 3:56 PM
To: electron-userland/electron-packager
Cc: AGrinthal; Author
Subject: Re: [electron-userland/electron-packager] packaging app Hangs after creating zip file (#1022)
Make sure you have the correct dependencies for unzipping <https://github.com/feross/cross-zip#windows-users> installed (which are also mentioned in the README).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#1022> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AK3D5EHQJXXYD4M4OQ7ZGR3P4PCUTANCNFSM4H3VHZFA> . <https://github.com/notifications/beacon/AK3D5EG74ZITA37TDB7AQATP4PCUTA5CNFSM4H3VHZFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYUUPDQ.gif>
|
Since the original issue reporter has not responded to the request for additional information in about a week, I'm going to assume that they either found the answer in another manner or decided not to pursue this issue. If I'm incorrect, they can respond with answers to the questions posed, and I'll reopen. |
Sorry about the delay as I wasn't give a chance to try your comment until today. I installed the cross-zip dependencies however I still hand at the point Where the packager has made the zip file and it appears to be trying to unzip it. Packaging app for platform win32 x64 using electron v5.0.5 electron-packager Extracting C:\Users\AGrinthal\AppData\Local\electron\Cache\e Maybe i didn't install the cross-zip correctly? Any other comments? |
Can you manually extract |
Yes. I can unzip it no problem MANUALLY |
Can you try running the powershell from |
I will try that after the holidays. Just so I am getting some understanding here is it because powershell is not firing or because it can't find the path's for some reason? I guess what I'm asking is that this is the issue for why I am "Hangining" I would never have know this without the debug command. I appreciate this help. happy 4th ! |
I don't know why it's hanging, that's why I'm asking to run the command manually. The only reason I've encountered so far that it would hang is that the dependencies aren't installed. |
This is just a simple example I ran that uses Shell to open a PDF file in Adobe and also open a Word Document in MS Word. It works fine when I run npm start However when I run "electron-packager ." it hangs after making the zip file as noted above. I'm just trying to get my feet wet here but teh Packager shouldn't hang and shouldn't the unzipped content be MY app? |
The zipped file is the prebuilt Electron binary, not your app. I would still like to know if the powershell command from #1022 (comment) works for you. |
Ok thanks |
If that's the issue, then it's not an Electron Packager bug, so I'm closing this issue. |
I have this exact issue with building Winx64 version on Debian Linux. I can build the app for other platforms (like linux) but it is stuck at this stage when building for winx64.
|
This is unrelated to this issue and also does not have enough information to be actionable. Please file a new issue and follow the issue template. |
I am attempting to create a package using the Electron-Quick-Start application. This application runs when I issue npm Start however when I try to package the application is just hangs.
I used debug and was able to see that the win32 Platform zip file is created however it never gets extracted to the temp folder from the Electron\Cache folder.
I'm at a loss on what next to do. Below is the debug statements when its run
Any help or direction would be appreciated. I can develop all day long with npm Start however I need to see a deliverable package and cannot get it to run. I am using Windows 7
Thanks
Andy
The text was updated successfully, but these errors were encountered: