Building on OSX for win32 throws an "Unknown Error -86"
See original GitHub issueHey, I’m trying to build my app for my colleagues. They are using windows, though I keep getting the following error:
An unhandled rejection has occurred inside Forge:
Error: spawn Unknown system error -86
at ChildProcess.spawn (internal/child_process.js:394:11)
at spawn (child_process.js:540:9)
at /usr/local/lib/node_modules/@electron-forge/cli/node_modules/rcedit/lib/rcedit.js:44:19
at new Promise (<anonymous>)
at module.exports (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/rcedit/lib/rcedit.js:43:10)
at WindowsApp.runRcedit (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/electron-packager/src/win32.js:94:31)
at WindowsApp.create (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/electron-packager/src/win32.js:106:5)
at async Promise.all (index 0)
at packager (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/electron-packager/src/index.js:165:20)
at _default (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/package.ts:206:3)
at _default (/usr/local/lib/node_modules/@electron-forge/cli/node_modules/@electron-forge/core/src/api/make.ts:141:5)
at /usr/local/lib/node_modules/@electron-forge/cli/src/electron-forge-make.ts:41:5 {
errno: 'Unknown system error -86',
code: 'Unknown system error -86',
syscall: 'spawn'
}
Electron Forge was terminated. Location:
{}
Here’s my configuration.
config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "lumifish_admin"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
],
"plugins": [
[
"@electron-forge/plugin-webpack",
{
"mainConfig": "./webpack.main.config.js",
"renderer": {
"config": "./webpack.renderer.config.js",
"entryPoints": [
{
"html": "./src/views/main/index.html",
"js": "./src/views/main/index.ts",
"name": "main_window"
},
{
"html": "./src/views/loading/index.html",
"js": "./src/views/loading/index.ts",
"name": "loading_window"
},
{
"html": "./src/views/login/index.html",
"js": "./src/views/login/index.ts",
"name": "login_window",
"ignore": []
}
]
}
}
]
]
}
}
The command:
electron-forge make --platform="win32"
I also really have no idea what I’m doing.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Building on OSX for win32 throws an "Unknown Error -86"
Hey, I'm trying to build my app for my colleagues. They are using windows, though I keep getting the following error: An unhandled...
Read more >Unknown system error -86 Electron app packaging on Mac for ...
Packaging app for platform win32 ia32 using electron v13.1.1. spawn Unknown system error -86. home@Homes-Mac-mini crypto-app %.
Read more >[webpack-cli] error: spawn unknown system error -86 - You.com
This is an issue with a dependency we use and M1 Macs. I build a project laravel + vuejs in macos. I follow...
Read more >General Error Messages | InterSystems Error Reference
This document contains tables of numeric error codes and their corresponding error messages for InterSystems IRIS® data platform. Commonly, these error ...
Read more >iOS update and restore errors - Apple Support (CA)
If your device couldn't be restored and you get a message that "an unknown error occurred [error number]," use these steps.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After looking further into this, there is not solution for this for MacOS Catalina. Pretty sad that Apple went and did a stupid thing with the 64bit only. Dang, well, I guess I’ll have to go and build apps locally on everyone’s computers.
Upgrade Forge to latest v6 and make sure you’ve installed
wine-stable
from Homebrew, which should installwine64
.