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

Couldn't get Nora to run in linux - deb & AppImage #207

Closed
the-root-user opened this issue Oct 17, 2023 · 3 comments
Closed

Couldn't get Nora to run in linux - deb & AppImage #207

the-root-user opened this issue Oct 17, 2023 · 3 comments
Assignees

Comments

@the-root-user
Copy link

Describe the bug

With both the deb and AppImage (on my debian-derived distro), the GUI wouldn't show and the terminal showed errors.
I ended up pulling the source and npm start did work but again the buillds I made myself, had same issues.

  • And this (issue) is just in hope to help someone facing same issue.

Expected behavior in terminal:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: 
Something went wrong installing the "sharp" module

libvips-cpp.so.42: cannot open shared object file: No such file or directory

Possible solutions:
- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
- Install for the current linux-x64 runtime: "npm install --platform=linux --arch=x64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
    at Object.<anonymous> (/tmp/.mount_Nora SNImj3Q/resources/app.asar/node_modules/sharp/lib/sharp.js:37:9)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
    at Object..js (node:internal/modules/cjs/loader:1326:10)
    at Module.load (node:internal/modules/cjs/loader:1126:32)
    at node:internal/modules/cjs/loader:967:12
    at Function._load (node:electron/js2c/asar_bundle:2:13377)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/tmp/.mount_Nora SNImj3Q/resources/app.asar/node_modules/sharp/lib/constructor.js:11:1)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)

System Information:

  • Parrot OS v5.3

Solution

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

@the-root-user
Copy link
Author

By the way, the app is more than lovely! Couldn't ask for more.
I also am a Otto user, was when found Nora <3

@Sandakan
Copy link
Owner

Thanks for finding a solution to that problem.
I too faced this problem in my ubuntu PC.

@IkelAtomig
Copy link

IkelAtomig commented Jun 9, 2024

Use vips package from dnf for Fedora.

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