-
Notifications
You must be signed in to change notification settings - Fork 14
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
single executable applications with warning #83
Comments
Could you run |
echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js
cp $(command -v node) hello
npx postject hello NODE_JS_CODE hello.js \
--sentinel-fuse NODE_JS_FUSE_fce680ab2cc467b6e072b8b5df1996b2 got:
And then: [admins foo]$ echo $?
0 It seems work: [admin foo]$ ./hello world
Hello, world!
(node:1468169) ExperimentalWarning: Single executable application is an experimental feature and might change at any time
(Use `hello --trace-warnings ...` to show where the warning was created) |
Okay, so it works! I was curious about the exit code because your original logs didn't contain the FWIW, these warnings are coming from the primary dependency, LIEF, from here - https://github.com/lief-project/LIEF/blob/f8f38b60757c0f0401df347de1266c0ecb88055b/src/ELF/Builder.tcc#L667. We intentionally preserved the warnings, so that in case this unexpectedly fails, it would be easier to diagnose what's going on. |
thanks |
Running
I found this out when another tool I was using complained that "the header space is insufficient" on binaries created via Node SEA. |
CentOS 8
got error:
The text was updated successfully, but these errors were encountered: