Skip to content

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

@the-root-user

Description

@the-root-user

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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions