Closed Nsbx closed 2 months ago
2 things:
Ah yes that better, thank
Now when I run "npm run start" i got this
[2024-06-25 17:03:45.0729] - debug: Error on when ready step
{
message: '/home/nsbx/Dev/Fork/Firebot/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory',
stack: 'Error: /home/nsbx/Dev/Fork/Firebot/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory\n' +
' at process.func [as dlopen] (node:electron/js2c/node_init:2:2214)\n' +
' at Module._extensions..node (node:internal/modules/cjs/loader:1356:18)\n' +
' at Object.func [as .node] (node:electron/js2c/node_init:2:2214)\n' +
' at Module.load (node:internal/modules/cjs/loader:1126:32)\n' +
' at Module._load (node:internal/modules/cjs/loader:967:12)\n' +
' at c._load (node:electron/js2c/node_init:2:13672)\n' +
' at Module.require (node:internal/modules/cjs/loader:1150:19)\n' +
' at require (node:internal/modules/cjs/helpers:119:18)\n' +
' at bindings (/home/nsbx/Dev/Fork/Firebot/node_modules/bindings/bindings.js:112:48)\n' +
' at Object.<anonymous> (/home/nsbx/Dev/Fork/Firebot/node_modules/@nut-tree-fork/libnut-linux/index.js:5:33)',
code: 'ERR_DLOPEN_FAILED'
}
[2024-06-25 17:03:45.0731] - debug: ...Showing splash screen
The splash screen appear but the loading is endless.
Right... Linux. the nutjs fork linux version is built on arm64 at the moment, which causes that error when used on an x86_64 system. I've contacted the package maintainer to try and get this fixed, but I got a workaround for now that should work for you.
cd /tmp
git clone https://github.com/ZachJW34/libnut-core.git
cd libnut-core
npm install
npm run patch
npm run build:release
then copy /tmp/libnut-core/build/Release/libnut.node
to /home/nsbx/Dev/Fork/Firebot/node_modules/@nut-tree-fork/libnut-linux/build/Release/
, overwriting the current libnut.node
You rock :D
That work well thank you
Hi :)
I tried to clone the project locally and run it (to contribute) But I got this error.
Like you can see my node version and npm version is the same as defined in "volta" key in package.json
Do you have an idea ?
Thank