I'm getting the following issue when trying to instal node-av on alpine (musl):
Could not load the node-av native binding for linux-arm64.
Error loading shared library ld-linux-aarch64.so.1: No such file or directory
My LLM says that there are two root causes:
@seydx/node-av-linux-arm64 has no libc field in package.json, so npm installs the glibc binary on musl systems instead of skipping it.
binding.js builds the package name from ${platform}-${arch} with no musl check, so it always resolves to the glibc package.
However, I am unsure whether this is correct.
Could you please advise? What is the best way to use node-av with Alpine as a Docker image?
Thanks!
I'm getting the following issue when trying to instal node-av on alpine (musl):
My LLM says that there are two root causes:
@seydx/node-av-linux-arm64has nolibcfield inpackage.json, so npm installs the glibc binary on musl systems instead of skipping it.binding.jsbuilds the package name from${platform}-${arch}with no musl check, so it always resolves to the glibc package.However, I am unsure whether this is correct.
Could you please advise? What is the best way to use node-av with Alpine as a Docker image?
Thanks!