esvu ❯ version 1.2.11
LibJS ❯ Checking version...
LibJS ❯ Installing version 10147417221/495677505
LibJS ❯ Downloading https://nightly.link/serenityos/serenity/suites/10147417221/artifacts/495677505
LibJS ❯ Extracting /var/folders/70/mdncxjgs3tx0lrvr03_7gd_w0000gn/T/esvu-74bf6cc27e73fb2f518098bc7eeac740
LibJS ❯ Installing /var/folders/70/mdncxjgs3tx0lrvr03_7gd_w0000gn/T/esvu-74bf6cc27e73fb2f518098bc7eeac740-extracted
LibJS ❯ Testing...
esvu ✖ Fatal error installing LibJS Error: Command failed with exit code 134: /Volumes/mystuff/dotnet/.local/share/.esvu/bin/serenity-js -c console.log("42")
dyld: Library not loaded: @rpath/liblagom-js.0.dylib
Referenced from: /Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/js
Reason: no suitable image found. Did find:
/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/../lib/liblagom-js.0.dylib: cannot load 'liblagom-js.0.dylib' (load command 0x80000034 is unknown)
/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/../lib/liblagom-js.0.dylib: stat() failed with errno=1
/Volumes/mystuff/dotnet/.local/share/.esvu/bin/serenity-js: line 2: 40255 Abort trap: 6 "/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/js" "$@"
at makeError (/Volumes/mystuff/dotnet/projects/opensource/esvu/node_modules/execa/lib/error.js:59:11)
at handlePromise (/Volumes/mystuff/dotnet/projects/opensource/esvu/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async LibJSInstaller.test (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/engines/libjs.js:75:8)
at async Function.install (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/installer.js:110:5)
at async installEngine (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/bin.js:121:3)
at async i (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/bin.js:149:7)
at async updateAll (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/bin.js:160:7)
at async main (/Volumes/mystuff/dotnet/projects/opensource/esvu/src/bin.js:177:7) {
shortMessage: 'Command failed with exit code 134: /Volumes/mystuff/dotnet/.local/share/.esvu/bin/serenity-js -c console.log("42")',
command: '/Volumes/mystuff/dotnet/.local/share/.esvu/bin/serenity-js -c console.log("42")',
exitCode: 134,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: 'dyld: Library not loaded: @rpath/liblagom-js.0.dylib\n' +
' Referenced from: /Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/js\n' +
' Reason: no suitable image found. Did find:\n' +
"\t/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/../lib/liblagom-js.0.dylib: cannot load 'liblagom-js.0.dylib' (load command 0x80000034 is unknown)\n" +
'\t/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/../lib/liblagom-js.0.dylib: stat() failed with errno=1\n' +
'/Volumes/mystuff/dotnet/.local/share/.esvu/bin/serenity-js: line 2: 40255 Abort trap: 6 "/Volumes/mystuff/dotnet/.local/share/.esvu/engines/libjs/bin/js" "$@"',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
esvu ✖ Some engines were not installed.
When trying to install LibJS I get an error about not loading
liblagom-js.0.dylib: load command 0x80000034 is unknownnode src/bin.js --engines libjs~/.local/share/.esvu/bin ./serenity-js --version@ADKaster is it because my OS is too old or are my paths messed up?
My
~/.local/share/.esvu/engines/libjsfolder contains the following files:PS. Great video you made for the SerenityOS December update: https://youtu.be/Q3PyN2Ctrpg?t=2384