Skip to content

npm i -g noskey results in libnode.so.72 error on Ubuntu 24.04 #2

@melvincarvalho

Description

@melvincarvalho

Description

While npm i -g noskey successfully installs the package, running it results in the following error:

/usr/local/lib/node_modules/noskey/node_modules/bindings/bindings.js:121
        throw e;
        ^

Error: libnode.so.72: cannot open shared object file: No such file or directory
    at Module._extensions..node (node:internal/modules/cjs/loader:1353:18)
    at Module.load (node:internal/modules/cjs/loader:1125:32)
    at Module._load (node:internal/modules/cjs/loader:965:12)
    at Module.require (node:internal/modules/cjs/loader:1149:19)
    at require (node:internal/modules/helpers:121:18)
    at bindings (/usr/local/lib/node_modules/noskey/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/usr/local/lib/node_modules/noskey/node_modules/ed25519/index.js:1:37)
    at Module._compile (node:internal/modules/cjs/loader:1267:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1321:10)
    at Module.load (node:internal/modules/cjs/loader:1125:32) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v20.0.0

Steps to Reproduce

  1. Use Ubuntu 24.04.
  2. Run npm i -g noskey to install the package globally.
  3. Attempt to use the installed package.

Expected Behavior

noskey should work without errors after installation.


Actual Behavior

The installed package throws an error related to libnode.so.72 being missing.


Environment Details

  • OS: Ubuntu 24.04
  • Node.js version: 20.0.0
  • npm version: <your-npm-version>

Additional Context

It seems like a dependency issue with Node.js or a missing system library. Let me know if there’s anything specific I can test to help debug!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions