Open hbel opened 7 months ago
Hi, I have the same issue, but not with forge. I am trying to package the application on M1 chip with exactly the same error. I know, that it is not informative at all, but just telling, that it might be not the forge.
In my case it stops with
• rebuilding native dependency name=cpu-features version=0.0.9
• cannot build optional native dependency name=cpu-features
version=0.0.9
cause=exit status 1
gyp info using node-gyp@10.1.0
gyp info using node@20.9.0 | darwin | arm64
@alexandrbig I moved some steps forward by upgrading electron to 29.x.
I ran into other problems than (mostly node packages compiled with the wrong node version), but most of that was solvable by running npm rebuild on the corresponding packages.
I was able to build a Universal Binary DMG package with that yesterday, although fixing all that stuff step by step and waiting several minutes each time for the next error message was quite tedious.
Pre-flight checklist
Electron Forge version
6.4.2
Electron version
28.2.2
Operating system
macOS 14.4 (Silicon)
Last known working Electron Forge version
None
Expected behavior
I would expect to be able to install the @electron-forge/maker-dmg package
Actual behavior
Installting with
yarn add @electron-forge/maker-dmg
fails with the following error (fyi, the error is identical for node 20)Steps to reproduce
Create a new Electron project, including electron forge. Try to install the dmg maker.
Additional information
No response