You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an alternative/workaround, you can use electron-deboa-maker to package your app to Ubuntu. It doesn't depend on dpkg or fakeroot, so it should work fine.
An unhandled rejection has occurred inside Forge:
Error: Command failed with a non-zero return code (2):
fakeroot dpkg-deb --build /tmp/electron-installer--30602-hglHQz375JIg/my-app_1.0.0_amd64
dpkg-deb: error: control directory has bad permissions 756 (must be >=0755 and <=0775)
at ChildProcess.<anonymous> (/workspaces/forge/node_modules/electron-installer-debian/node_modules/@malept/cross-spawn-promise/dist/src/index.js:99:24)
at ChildProcess.emit (node:events:514:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
Pre-flight checklist
Electron Forge version
6.0.0-beta.65
Electron version
20.0.3
Operating system
Ubuntu 20.04.4 x64
Last known working Electron Forge version
No response
Expected behavior
I expected the npm run make command to produce files for Ubuntu, Mac and Windows and show them and a dist folder for distrubution
Actual behavior
It threw an error:
External binaries need to be installed: dpkg, fakeroot
But these packages are already installed
Steps to reproduce
`
npx create-electron-app@latest app
cd app
npm run make
`
Additional information
However it works with electron-build
The text was updated successfully, but these errors were encountered: