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
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. (/home/parallels/pvad-tests2/node_modules/@nut-tree/libnut-linux/index.js:5:33)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
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
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. (/home/parallels/pvad-tests2/node_modules/@nut-tree/libnut-linux/index.js:5:33)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
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
The text was updated successfully, but these errors were encountered: