Open jamesg31 opened 2 months ago
Hi @jamesg31, if no additional debug information is provided, please try DEBUG=electron-*
, which should also pull in debug logs from packager, notarize, and osx-sign :)
I run DEBUG=electron-* npm run make -- --arch="arm64" --platform="darwin"
and got this error
An unhandled rejection has occurred inside Forge: TypeError: Cannot read properties of null (reading 'toString') at flipFuses (/home/mohammad/projectFile/app/node_modules/@electron/fuses/src/index.ts:195:35) at async /home/mohammad/projectFile/app/node_modules/@electron-forge/plugin-fuses/src/FusesPlugin.ts:37:11 at async PluginInterface.triggerHook (/home/mohammad/projectFile/app/node_modules/@electron-forge/core/src/util/plugin-interface.ts:78:13) at async runHook (/home/mohammad/projectFile/app/node_modules/@electron-forge/core/src/util/hook.ts:29:3) at async getTargetKey.platform (/home/mohammad/projectFile/app/node_modules/@electron-forge/core/src/api/package.ts:243:17)
Pre-flight checklist
Electron Forge version
7.4.0
Electron version
v30.0.6
Operating system
Github Runner, macos-latest
Last known working Electron Forge version
No response
Expected behavior
The github runner will build and publish.
Actual behavior
The runner hangs on the "preparing native dependencies" step, with no error or further info, only for the OSX build. For windows it build fine. I suspect this may have something to do with code signing.
Steps to reproduce
My forge config:
My Github Action in case that is useful:
Additional information
Console with DEBUG=electron-forge:*