question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

32-bit rcedit does not work on macOS 10.15 (Catalina) hosts when building Windows targets

See original GitHub issue

Preflight Checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details

  • Electron Packager Version: 13.1.1
  • Electron Version:

4.1.4

  • Operating System:

OSX 10.15

  • Last Known Working Electron Packager version::

13.1.1 / 14.0.6

Expected Behavior

package all apps

Actual Behavior

when packaging the windows app the following error msgs appear:

13.1.1:

Unhandled rejection Error: spawn Unknown system error -86 at ChildProcess.spawn (internal/child_process.js:366:11) at spawn (child_process.js:551:9) at module.exports (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/rcedit/lib/rcedit.js:47:15) at P (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/electron-packager/node_modules/pify/index.js:32:6) at new Promise (<anonymous>) at /Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/electron-packager/node_modules/pify/index.js:6:9 at ret (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/electron-packager/node_modules/pify/index.js:56:76) at getIconPath.then.icon (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/electron-packager/win32.js:95:39)

14.0.6: Packaging app for platform darwin x64 using electron v4.1.4 Packaging app for platform mas x64 using electron v4.1.4 Packaging app for platform linux x64 using electron v4.1.4 Packaging app for platform win32 x64 using electron v4.1.4 (node:16768) UnhandledPromiseRejectionWarning: Error: spawn Unknown system error -86 at ChildProcess.spawn (internal/child_process.js:366:11) at spawn (child_process.js:551:9) at Promise (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/rcedit/lib/rcedit.js:44:19) at new Promise (<anonymous>) at module.exports (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/rcedit/lib/rcedit.js:43:10) at WindowsApp.runRcedit (/Users/meow/data/phd/phd_projects/pipeline/code/elephant_client/node_modules/electron-packager/src/win32.js:94:31) (node:16768) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:16768) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. WARNING: signing is required for mas builds. Provide the osx-sign option, or manually sign the app later.

To Reproduce

Additional Information

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
antellecommented, Oct 9, 2019

I’ve solved it this way:

  1. make a VM with Ubuntu+wine (use this hack to fix VirtualBox crashes on macOS Catalina)
  2. remove wine
  3. add a script called wine and inside this script upload everything to the VM, after which run wine there
  4. override arguments, if necessary

Seems to be working fine here.

My wine script, to save some time if anyone wants to do the same: https://gist.github.com/antelle/10ca9beed2a83da9af918f1fce3fe7e7

Disclaimer: shitty quality everywhere here in my scripts. Use at your own risk.

1reaction
antellecommented, Oct 8, 2019

Well, Python is preinstalled on mac and exists everywhere on linux and it’s for sure not that bad as requiring wine that does not exist at all for mac now. The problem is, if there’s complex information, pefile can produce broken results 😞

Read more comments on GitHub >

github_iconTop Results From Across the Web

Office 32bit no longer works on macOS Catalina 10.15
Hi - I was running MS Home 2016 on my mac but it no longer works after updating to macOS Catalina v10.15. Is...
Read more >
How to Run 32-Bit Apps in macOS Catalina | PCMag
The easiest way to do this is to click the Apple icon in the upper left, then About this Mac, then System Report,...
Read more >
The Definitive Classic Mac Pro (2006-2012) Upgrade Guide
Upgrading a classic Mac Pro isn't hard. The information is out there but knowing what is possible, what questions to ask, and where...
Read more >
Is Mac OS Catalina a jump too far too fast? The lack of 32-bit ...
Q: Is Mac OS Catalina a jump too far too fast? The lack of 32-bit support is a huge issue and it doesn't...
Read more >
Here are 235 apps that will not run with MacOS Catalina - ZDNet
MacOS 10.15 Catalina drops support for 32-bit apps, and that means apps you currently rely on may stop working. Here's how to find...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found