-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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 can't rebuild at alpine 3.15 node 16 #5184
Comments
Happens to me as well on my raspberry. |
Hmm...have you tried posting this in the node-argon2 repo? I feel like this is unexpected since they say they support Alpine 🤔 |
I try direct install argon2 it's successful |
Interesting...I wonder if it's related to this: ranisalt/node-argon2#345 |
I'd say it is related to #5174. I have the same problem and error with npm on the Raspberry Pi. I got it working by using '--ignore_scripts' with npm and do a manual install to get 'postinstall.sh' to run. Then the errors led me to argon2. I had to go down to argon2, do 'npm install', do 'npm update' and then add any missing node modules that code-server complained about. Without '--ignore_scripts', code-server is removed at the end of the installation so you cannot debug it. So the main problem seems to be that argon2 does not get built on my Raspberry Pi when installing code-server. It is the same problem, but with slightly different errors, when I install it locally and globally. |
Tried to install it with yarn as suggested in #5174 and it seemed to work. But for some reason it didn't find the git repository in the folder. Returning to my '--ignore_scripts' installation and git works again. |
I had the same problem installing as @kernie66. Sadly, Seems to be about these error lines:
|
Yes, the error is caused by that argon2 hasn't been built. By manually going to ./node_modules/argon2 and do npm install, that error goes away. But on my second RPi, I also had to install argon2 dependencies manually several times before everything worked. |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.4.0Steps to Reproduce
Expected
install successful
Actual
fail to install argon2
Logs
Screenshot/Video
No response
Does this issue happen in VS Code?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: