question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Argon2 Again

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: All
  • Local OS: All
  • Remote OS: All
  • Remote Architecture: ARM64 (maybe for now)
  • code-server --version: Latest

Steps to Reproduce

Prerequisite: Node 16 only

  1. Install via Yarn
  2. See Argon2 error

Expected

We are supposed to see a successful installation.

Actual

The bad old argon2 dependency error happens. We last saw this in #4422.

Logs

Logs can be found at this discussion: #5381

Screenshot/Video

At #5381

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I couldn’t dig properly, but I think node-rs adopted a new problem, perhaps? @yisibl would love to hear your insight on this!

My notes will be continued in comments later on. My first point is this:

This was supposed to be fixed in #4733, and so it was - I personally tested it via Node 14 on my 32-bit Raspbian install. This is back now, which makes it weird. I am going to need a bit of time on this - sorry, but I have a lot of things up next, like August 15, I have a job to do for that, as well as some other things.

@jsjoeio and @bpmct you are the people I know who have RPis set up. Can you install Node and check it? My install via nvm seems to be screwed up.

@yisibl you suggested @node-rs/argon2, have you noticed anything going haywire in the build logs? Maybe we could start on these things as I also try on my Zorin installation on my computer.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
ranisaltcommented, Aug 25, 2022

Yeah we have been reluctant to up the minimum glibc requirement since I think we had people on the product side using code-server on CentOS 7.

If you can confirm this data, I can try to build with an older distro, so it’s compatible. There is no hard requirement to support newer distros 😃

1reaction
code-ashercommented, Aug 24, 2022

IMO building from source sounds like it might be the best move for us at the moment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug]: argon2 can't rebuild at alpine 3.15 node 16 #5184
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...
Read more >
Bug #81476 :: "with-password-argon2" does build but not work
i tried one build with sodium, which then showed argon2 because i found a hint on stackoverflow which then had the constants available...
Read more >
[BUG] php and argon2 in latest -current (2019.07.04)
Following the latest update of -current php has trouble with argon2: Code: # sudo -u apache php -f ...
Read more >
[Issue 9517] New: Documenting how to pass Argon2 ...
11:30 p.m.. New subject: [Issue 9517] Documenting how to pass Argon2 configuration parameters when loading the module. https://bugs.openldap.org ...
Read more >
node.js - Invalid ELF Header - Argon2 package - Stack Overflow
The error message tells you that it cant find the binary at that location. if you look at the releases page at github.com/ranisalt/node-argon2/ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found