electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.65k stars 1.74k forks source link

electron-builder outputs error: Compressor “xz” is not supported on Raspberry Pi #5584

Closed Alesvetina closed 3 years ago

Alesvetina commented 3 years ago

When trying to run electron-builder build on Raspberry Pi 4 in my Angular app I get an error: cannot execute cause=exit status 1 errorOut=/home/pi/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressor "xz" is not supported! /home/pi/.cache/electron-builder/appimage/appimage-12.0.1/linux-arm32/mksquashfs: Compressors available: gzip (default)

Windows builds OK.

The build options are:

"linux": {
  "artifactName": "App Setup.${ext}",
  "executableName": "App Name",
  "category": "Utility",
  "target": {
    "target": "appimage",
      "arch": [
       "armv7l"
      ]
  }
}

Why is this error present and how to successfully build for Raspberry Pi? Thank you!

stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.