libnut
libnut copied to clipboard
[Ubuntu][Arm64][@nut-tree/libnut-linux] libnut.node: cannot open shared object file: No such file or directory
Version @nut-tree/libnut-linux - 2.5.1
Short overview Error when trying to use nutjs on ubuntu arm64. As I suppose, the library contains a file that does not correspond to the architecture of the operating system (Arm64)
Steps to reproduce error
- Install last nutjs version on Linux ubuntu-linux-22-04-desktop 5.15.0-70-generic
- Try to use it
Actual result:
Could not load helper NutHelper from module '/home/test/tests/helpers/nut.helper.js':
/home/test/node_modules/@nut-tree/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
Error: /home/test/node_modules/@nut-tree/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1280:18)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Module.require (node:internal/modules/cjs/loader:1098:19)
at require (node:internal/modules/cjs/helpers:108:18)
at bindings (/home/parallels/pvad-tests2/node_modules/bindings/bindings.js:112:48)
at Object.
Additional content Check results: file ./libnut.node
Output: ./libnut.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=c840bced4182f27a9739371b11d88e2bd5ef8dd4, not stripped