-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
argon2 package.json is not node-pre-gyp ready #411
Comments
Yeah, it hasn't been since the package moved from Is there a need to support |
I don't think there is but the README should be updated. |
Ah, absolutely. Feel free to open a pull request, or I will do it a little later 😉 |
We only really want to know how to recompile the prebuilt binaries so that they no segfault. We don't really care what tools are used for that 😅 We are receiving the same error as #302 (comment) or #405 |
We tried rebuilding argon2 with
First of all: is that correct to rebuild the library now? What are we doing wrong? |
@ranisalt Some advice would be helpful here as we are really stuck and in some migration pressure because electron 29 is soonish leaving nixpkgs unstable. |
@SuperSandro2000 can you try running Edit: |
node-gyp-ready doesn’t really matter, and is not the cause of the issue. The undefined symbol is due to LTO (for reasons unknown to me). Changing to use LTO was coupled with the change from node-gyp-ready to node-gyp-build (in b476028). I’ve opened #415 to remove LTO from the build, which resolves the issue we were seeing building from source. |
Thanks @amarshall I'll publish v0.41.0 with your fix soon |
After a lot of trouble with npm, it's done 😆 https://www.npmjs.com/package/argon2/v/0.41.0 |
@dotlambda @SuperSandro2000 @amarshall can you confirm that it works from your side now? |
We don't directly consume this package, we get it proxied through bitwarden. So I assume this got fixed but we only know for sure with the next updated of bitwarden. |
OK, I use Bitwarden myself and will keep an eye out, but I consider this fixed. |
Steps to reproduce
Run
npx @mapbox/node-pre-gyp rebuild
inside node-argon2's git repo.Actual behaviour
Environment
Operating system: NixOS
Node version: 20.14.0
Compiler version:
The text was updated successfully, but these errors were encountered: