Skip to content

Does not run on the latest node version #36

@tw1t611

Description

@tw1t611

If the package was included with npm i monero-nodejs-libwallet, it throws the following error:

internal/modules/cjs/loader.js:992
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: libssl.so.1.0.0: cannot open shared object file: No such file or directory
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:992:18)
    at Module.load (internal/modules/cjs/loader.js:798:32)
    at Function.Module._load (internal/modules/cjs/loader.js:711:12)
    at Module.require (internal/modules/cjs/loader.js:838:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/home/user/Projects/monero-nodejs-libwallet/example/node_modules/monero-nodejs-libwallet/index.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:945:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:962:10)
    at Module.load (internal/modules/cjs/loader.js:798:32)
    at Function.Module._load (internal/modules/cjs/loader.js:711:12)

However, it works fine, when it's built manually.

node --version
v12.11.0
npm --version
6.13.4
uname -a
Linux nuc 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions