-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[Bug]: argon2.node: cannot open shared object file: No such file or directory #6446
Comments
Same here facing the error after Watchtower update the container. OS/Web InformationFailure happen after update to v4.17.0 on my Ubuntu 22.04 ARM64 instance Node.js v18.15.0 |
Same for me after Watchtower update the Container starting with no password i am on arm64 RaspberryPi 4 |
same here on Ampere Altra A1 (arm64)
|
cd /usr/lib/code-server \
&& rm -rf node_modules/argon2 \
&& npm install -g node-gyp \
&& npm install argon2 argon2-cli \
&& echo -n "password" | npx argon2-cli -d -e |
I have the same issue |
Same issue on raspberry pi 4. |
@wxianxin this issue is present on all arm64 because the /usr/lib/code-server/node_modules/argon2/lib/binding/napi-v3/argon2.node is not a correct aarch64 binary, you must recompile it yourself
|
@eltorio thanks it works! |
Thanks! I am on a k8s cluster, probably will wait for the image maintainer to fix the issue. Appreciate the insight! |
Thank you @eltorio , this helped me in resolving the issue |
getting this error on mac m1 running code-server docker-compose |
Thank you for the reports. I think I have a fix for this. Once CI completes I will put out an RC and if there is anyone who could run it in an arm64 environment to confirm I would be most grateful! |
Is there an existing issue for this?
OS/Web Information
After a update to v4.17.0 on my Ubuntu ARM64 instance I got this failure.
I used the
.deb
file.v4.16.1 is still working
regards
Dual-O
Steps to Reproduce
Expected
working like v4.16.1
Actual
error via command line output
Logs
node:internal/modules/cjs/loader:1338
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: /usr/lib/code-server/node_modules/argon2/lib/binding/napi-v3/argon2.node: cannot open shared object file: No such file or directory
at Module._extensions..node (node:internal/modules/cjs/loader:1338:18)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/usr/lib/code-server/node_modules/argon2/argon2.js:9:25)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v18.15.0
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: