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

@resvg/resvg-js-linux-x64-musl: Arch linux: TypeError: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory #267

Open
btakita opened this issue Oct 14, 2023 · 3 comments

Comments

@btakita
Copy link

btakita commented Oct 14, 2023

When requiring @resvg/resvg-js-linux-x64-musl on arch, I get the following error:

TypeError: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
      at internalRequire (:1:20)
      at /home/brian/project/tmp/test.js:1:6
      at globalThis (/home/brian/project/tmp/test.js:2:17)

The loader file is:

const foo = require('@resvg/resvg-js-linux-x64-musl')
console.debug(foo)
@yisibl
Copy link
Member

yisibl commented Dec 1, 2023

I'm sorry, I didn't understand why the direct require('@resvg/resvg-js-linux-x64-musl')

@btakita
Copy link
Author

btakita commented Dec 1, 2023

It's test code to isolate the issue.

@yisibl yisibl added bug Something isn't working and removed bug Something isn't working labels Mar 8, 2024
@yisibl
Copy link
Member

yisibl commented Mar 8, 2024

Please confirm that you are not GNU/Linux? If so, you should use gnu's npm package.

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