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

node execute javascript fail once in a while #100

Open
guogeer opened this issue Oct 17, 2024 · 0 comments
Open

node execute javascript fail once in a while #100

guogeer opened this issue Oct 17, 2024 · 0 comments

Comments

@guogeer
Copy link

guogeer commented Oct 17, 2024

it is a accidental bug
screenshot-20241017-135017

code:

function main({arg1}) {
    return {
        result: JSON.stringify(arg1)
    }
}

error:
20.11.1 dbox-459e0614-a459-4bbe-8cf1-70b824f02d4a/var/sandbox/sandbox-nodejs/nodejs-project/node_temp/node_temp/node_modules/koffi/index.js:562 let lib = load(...args); ^ Error: Failed to load shared library: cannot open shared object file: No such file or directory at module.exports.load (/tmp/sandbox-459e0614-a459-4bbe-8cf1-70b824f02d4a/var/sandbox/sandbox-nodejs/nodejs-project/node_temp/node_temp/node_modules/koffi/index.js:562:13) at Object. (/tmp/sandbox-459e0614-a459-4bbe-8cf1-70b824f02d4a/var/sandbox/sandbox-nodejs/nodejs-project/node_temp/node_temp/test.js:4:19) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.11.1 error: exit status 1

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