You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Postinstall failure on npm with --no-bin-links #190
There appears to be an issue with the current postinstall script when attempting to install the package using the --no-bin-links flag on npm.
Testing on both RHEL and Windows shows that attempting to install with --no-bin-links results in the shell being unable to find the required napi-postinstall binary (due to the lack of the binary link creation). Installing without this flag installs correctly.
Updating the postinstall script to run napi-postinstall through npx (as npx -y napi-postinstall) resolves this issue, but I'm unsure as to whether or not this solution works correctly with other package managers.
Activity
JounQin commentedon May 19, 2026
Should be fixed on v1.12.0 which uses
node postinstall.jsinstead.docs: prefer postinstall.js over the CLI