Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with electron-installer-debian in Certain Linux Environments #346

Open
flyyuan opened this issue Sep 12, 2023 · 2 comments
Open

Issue with electron-installer-debian in Certain Linux Environments #346

flyyuan opened this issue Sep 12, 2023 · 2 comments

Comments

@flyyuan
Copy link

flyyuan commented Sep 12, 2023

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?

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.
@flyyuan
Copy link
Author

flyyuan commented Sep 12, 2023

#347

@flyyuan
Copy link
Author

flyyuan commented Sep 12, 2023

electron/forge#2926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant