[AppImage] Linux Bundled App error & package installation failing on Linux
Issues:
- Couldn't install package on Linux machine getting following error:
make: Entering directory '/home/ahmadgoraya/Documents/taskick-electron/node_modules/electron-active-window/build'
CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
AR(target) Release/obj.target/../node-addon-api/src/nothing.a
COPY Release/nothing.a
CXX(target) Release/obj.target/wm/cppsrc/main.o
CXX(target) Release/obj.target/wm/cppsrc/linux/windowlinux.o
../cppsrc/linux/windowlinux.cpp:6:10: fatal error: X11/extensions/scrnsaver.h: No such file or directory
6 | #include <X11/extensions/scrnsaver.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [wm.target.mk:125: Release/obj.target/wm/cppsrc/linux/windowlinux.o] Error 1
make: Leaving directory '/home/ahmadgoraya/Documents/taskick-electron/node_modules/electron-active-window/build'
- Made a build from Mac-OS but getting following error when running the .AppImage file
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.mount_TasKicJJznfd/resources/app.asar.unpacked/node_modules/electron-active-window/build/Release/wm.node: invalid ELF header
at process.func [as dlopen] (electron/js2c/asar_bundle.js:5:1812)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1203:18)
at Object.func [as .node] (electron/js2c/asar_bundle.js:5:2039)
at Module.load (internal/modules/cjs/loader.js:992:32)
at Module._load (internal/modules/cjs/loader.js:885:14)
at Function.f._load (electron/js2c/asar_bundle.js:5:12633)
at Module.require (internal/modules/cjs/loader.js:1032:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/tmp/.mount_TasKicJJznfd/resources/app.asar/node_modules/electron-active-window/index.js:1:23)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
Environment:
- Linux build-essentials and GCC are installed
- OS: Linux
- Electron active window version: 0.06
- Node-Sass: 4.14.1 || 5.0.0
- Node-gyp: 7.1.2 || 8.0.2
Screenshots are also attached for reference:


Could you try installing xorg?
sudo apt install xorg
Facing the exact same problem. Any solution??? Also tried - "sudo apt install xorg". But it is already to the newest version.
Do you have libX11-devel installed? @Prat1143
Do you have
libX11-develinstalled? @Prat1143
Yes, it's already installed to the newest version
Any update on this issue?
Could it be related to https://groups.google.com/a/chromium.org/g/chromium-dev/c/1XFI04Rd6Mc/m/rLZDp2wnfLoJ ?
The issue you posted doesnt seem to give any answers... Any updates at all?
Sorry but I have no time right now to resolve this problem. I will lock this issue until then