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

Linux binary not working (Fedora Silverblue) #2

Open
quazar-omega opened this issue May 7, 2023 · 2 comments
Open

Linux binary not working (Fedora Silverblue) #2

quazar-omega opened this issue May 7, 2023 · 2 comments

Comments

@quazar-omega
Copy link

I downloaded the latest linux build and ran it but I get an error when running it (regardless of the image):

$ ./fineartdown-linux https://fineartamerica.com/featured/johann-sebastian-bach-playing-the-organ-french-school.html
pkg/prelude/bootstrap.js:1872
      throw error;
      ^

Error: /tmp/pkg/2da0d9158a9def60f4ba14472c3cf85a226cd5fedab2a217742732778d95ef20/.pnpm/[email protected]/node_modules/canvas/build/Release/canvas.node: invalid ELF header
    at process.dlopen (pkg/prelude/bootstrap.js:2251:28)
    at Module._extensions..node (node:internal/modules/cjs/loader:1196:18)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:834:12)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/snapshot/fineartdown/node_modules/.pnpm/[email protected]/node_modules/canvas/lib/bindings.js:3:18)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.5.0
[fabriziov@fedora Downloads]$ ./fineartdown-linux https://fineartamerica.com/featured/dancing-octopus-barathieu-gabriel.html
pkg/prelude/bootstrap.js:1872
      throw error;
      ^

Error: /tmp/pkg/2da0d9158a9def60f4ba14472c3cf85a226cd5fedab2a217742732778d95ef20/.pnpm/[email protected]/node_modules/canvas/build/Release/canvas.node: invalid ELF header
    at process.dlopen (pkg/prelude/bootstrap.js:2251:28)
    at Module._extensions..node (node:internal/modules/cjs/loader:1196:18)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:834:12)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/snapshot/fineartdown/node_modules/.pnpm/[email protected]/node_modules/canvas/lib/bindings.js:3:18)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v18.5.0

The npm package worked like a charm, I love this so much!

@agmmnn
Copy link
Owner

agmmnn commented May 7, 2023

Hey, thanks for feedback. I exactly dont know what is causing this problem but maybe

@quazar-omega
Copy link
Author

I see, all those sound possibile, I wonder if it could be packaged as an Appimage to (probably) avoid all those issues, it would be possibile to build it with GitHub Actions too

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

2 participants