Issue with electron-installer-debian
in Certain Linux Environments #346
Open
Description
What version of electron-installer-debian
are you using?
- Not specified.
What version of node
and npm
are you using?
- Node: v20.6.0
- NPM: 9.8.1
What operating system are you using?
- Linux version 5.15.0-1041-azure (buildd@lcy02-amd64-062) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) Update eslint-plugin-promise to version 3.0.0 🚀 #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023
Can you compile the example app successfully?
- Not specified.
If not, paste here the output of the following commands:
$ git clone https://github.com/electron-userland/electron-installer-debian.git
$ cd electron-installer-debian/example
$ DEBUG='electron-installer-debian' npm run build
Output:
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)
What did you do? Please include the configuration you are using for electron-installer-debian
.
- Not specified.
What did you expect to happen?
- Not specified.
What actually happened?
- I encountered an error related to permissions when trying to build the app using
electron-installer-debian
in a GitHub codespace environment.
Metadata
Assignees
Labels
No labels