Skip to content
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

Cannot Build from Source Automatically #294

Open
DakotaLarson opened this issue Apr 27, 2021 · 2 comments
Open

Cannot Build from Source Automatically #294

DakotaLarson opened this issue Apr 27, 2021 · 2 comments

Comments

@DakotaLarson
Copy link

Steps to reproduce

  1. Install argon2 on CentOS7
  2. Run program
  3. See this error: http://prntscr.com/125xcbl

Expected behaviour

Not get an error

Actual behaviour

Get an error

Environment

Operating system: CentOS 7

Node version: 14.16.1

Compiler version:

This is related to #276, however, I think this description provides a better ask users can work with.

In the FAQ, it is stated that if you want to disregard the prebuilt binaries, you have to run npm rebuild argon2 --build-from-source or a similar command.

The formal issue at hand is that this behavior is not automatic. I cannot dictate to this library (through an environment variable for example) that I always want to disregard the prebuilt libraries, so if I run npm i I will always get unworkable code until I rebuild manually. Could this be made possible?

@cube-dan
Copy link

I got argon2 to behave on CentOS 7 using SCL, info here: directus/directus#6071 (comment)

@ranisalt
Copy link
Owner

@cube-dan thanks for the tip! While not ideal to stay in outdated systems, it might help creating a migration path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants