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

[AppImage] Linux Bundled App error & package installation failing on Linux #2

Open
ahmedmukhtar1133 opened this issue Aug 31, 2021 · 8 comments

Comments

@ahmedmukhtar1133
Copy link

Issues:

  1. 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'

  1. 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:
image

image

@nullxx
Copy link
Owner

nullxx commented Sep 4, 2021

Could you try installing xorg?

sudo apt install xorg

@Prat1143
Copy link

Prat1143 commented Oct 13, 2021

Facing the exact same problem. Any solution???
Also tried - "sudo apt install xorg". But it is already to the newest version.

@nullxx
Copy link
Owner

nullxx commented Oct 13, 2021

Do you have libX11-devel installed? @Prat1143

@Prat1143
Copy link

Do you have libX11-devel installed? @Prat1143

Yes, it's already installed to the newest version

@Prat1143
Copy link

Any update on this issue?

@nullxx
Copy link
Owner

nullxx commented Dec 14, 2021

@144reasons
Copy link

The issue you posted doesnt seem to give any answers... Any updates at all?

Repository owner locked and limited conversation to collaborators Feb 7, 2022
@nullxx
Copy link
Owner

nullxx commented Feb 7, 2022

Sorry but I have no time right now to resolve this problem. I will lock this issue until then

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

No branches or pull requests

4 participants