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

[Bug] AppImage package doesn't start #245

Closed
vitrola06 opened this issue May 12, 2024 · 5 comments
Closed

[Bug] AppImage package doesn't start #245

vitrola06 opened this issue May 12, 2024 · 5 comments

Comments

@vitrola06
Copy link

vitrola06 commented May 12, 2024

OS: Fedora 40 KDE on Wayland session
Version: v3.0.0-stable
Launching the program doesn't work, even with --no-sandbox argument. The process seems to start, but stops suddenly.
How can I troubleshoot this?

Uncaught Exception:
Error: Could not load the "sharp" module using the linux-x64 runtime
ERR_DLOPEN_FAILED: libvips-cpp.so.42: cannot open shared object file: No such file or directory
Possible solutions:
- Ensure optional dependencies can be installed:
    npm install --include=optional sharp
    yarn add sharp --ignore-engines
- Ensure your package manager supports multi-platform installation:
    See https://sharp.pixelplumbing.com/install#cross-platform
- Add platform-specific dependencies:
    npm install --os=linux --cpu=x64 sharp
- Consult the installation documentation:
    See https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/tmp/.mount_Nora.SUE8ocl/resources/app.asar/node_modules/sharp/lib/sharp.js:114:9)
    at Module._compile (node:internal/modules/cjs/loader:1391:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1451:10)
    at Module.load (node:internal/modules/cjs/loader:1214:32)
    at Module._load (node:internal/modules/cjs/loader:1030:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1242:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/tmp/.mount_Nora.SUE8ocl/resources/app.asar/node_modules/sharp/lib/constructor.js:10:1)
    at Module._compile (node:internal/modules/cjs/loader:1391:14)
@Sandakan
Copy link
Owner

@vitrola06,
You can try the solution from #207.

Did sudo apt install libvips (or to be specific libvips42).
And after that, both .deb installed pkg as well as the AppImage worked fine!

@vitrola06
Copy link
Author

My bad, didn't remember to check closed issues, only open ones. However, I have noticed this package is not available on Fedora or copr, so the only option would we be to build it from source, right? If this is the case, would it be better to just build Nora from source, which seems to work fine?

@IkelAtomig
Copy link

But libvips packages doesn't seem to found in dnf.

@IkelAtomig
Copy link

Just found that, it is just vips in dnf while as libvips in apt.

@vitrola06
Copy link
Author

I think it would be nice for this info to be added to the README file. Other than that, thanks for the responses.

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

3 participants