Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 24.04/24.10 arm64 error #28

Open
gpttestdev opened this issue Oct 27, 2024 · 0 comments
Open

Ubuntu 24.04/24.10 arm64 error #28

gpttestdev opened this issue Oct 27, 2024 · 0 comments

Comments

@gpttestdev
Copy link

Hello, how do I fix it?

ross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts

[1] [electronmon] waiting for a change to restart it
[1] App threw an error during load
[1] Error: /home/gpt/agent.exe/release/app/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
[1]     at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
[1]     at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
[1]     at Object.func [as .node] (node:electron/js2c/node_init:2:2559)
[1]     at Module.load (node:internal/modules/cjs/loader:1295:32)
[1]     at Module._load (node:internal/modules/cjs/loader:1111:12)
[1]     at c._load (node:electron/js2c/node_init:2:17025)
[1]     at Module._load (/home/gpt/agent.exe/node_modules/runtime-required/runtime-required.js:34:23)
[1]     at Module.require (node:internal/modules/cjs/loader:1318:19)
[1]     at require (node:internal/modules/helpers:179:18)
[1]     at bindings (/home/gpt/agent.exe/release/app/node_modules/bindings/bindings.js:112:48)
[1] agent.exe encountered an error
[1] Error: /home/gpt/agent.exe/release/app/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node: cannot open shared object file: No such file or directory
[1]     at process.func [as dlopen] (node:electron/js2c/node_init:2:2559)
[1]     at Module._extensions..node (node:internal/modules/cjs/loader:1602:18)
[1]     at Object.func [as .node] (node:electron/js2c/node_init:2:2559)
[1]     at Module.load (node:internal/modules/cjs/loader:1295:32)
[1]     at Module._load (node:internal/modules/cjs/loader:1111:12)
[1]     at c._load (node:electron/js2c/node_init:2:17025)
[1]     at Module._load (/home/gpt/agent.exe/node_modules/runtime-required/runtime-required.js:34:23)
[1]     at Module.require (node:internal/modules/cjs/loader:1318:19)
[1]     at require (node:internal/modules/helpers:179:18)
[1]     at bindings (/home/gpt/agent.exe/release/app/node_modules/bindings/bindings.js:112:48)
[1] [electronmon] uncaught exception occured
[1] [electronmon] waiting for any change to restart the app
[1] [electronmon] ignoring exit with code 1

gpt@gpt:~/agent.exe$ ls -lia /home/gpt/agent.exe/release/app/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node
803006 -rwxrwxr-x 1 gpt gpt 135448 Oct 27 20:43 /home/gpt/agent.exe/release/app/node_modules/@nut-tree-fork/libnut-linux/build/Release/libnut.node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant