-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Why is this a bug.
- If we have no way to control the behavior of this library's fallback sequence etc, it might fail in envs, e.g.
alpine linux (musl)
withnix
package manager which runsnode
(glibc, andpnpm
also withglibc
etc). This library then forcefully detects some/bin/ldd
content which is from alpine (musl
) which is a wrong result.
TL:DR:
-
IMO the only reliable way to first check the
process.report.getReport
for anything (the context isnode
and checking for an executableldd
is highly orthogonal). -
Also making any fallback optional with env variable
NODE_LOVELL_DETECT_LIBC_NO_FALLBACKS=true
might be good.
Related:
I highly suggest to change that.
Metadata
Metadata
Assignees
Labels
No labels