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

BCRYPT module is not installing #501

Closed
shobhit148 opened this issue Mar 22, 2017 · 5 comments
Closed

BCRYPT module is not installing #501

shobhit148 opened this issue Mar 22, 2017 · 5 comments

Comments

@shobhit148
Copy link

Hello BCRYPT team,

I am trying to use BCRYPT module but it is not getting installed, I tried every best solution and it is keep giving errors.

Below I am attaching a debug log please check that and let me know how to fix this, I am urgently in need of this.
npm-debug.log.zip

@recrsn
Copy link
Collaborator

recrsn commented Mar 22, 2017

See the README and https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions

@akrumel
Copy link

akrumel commented Mar 22, 2017

Looks like you are trying to deploy on elastic beanstalk. Place the following in your project's '.ebextensions/app.config' file (you can change the file name):

packages:
   yum:
     gcc: []
     make: []
     openssl-devel: []
     libxml2: []
     libxml2-devel: []
     gcc-c++: []
     python27: []

Not sure if all packages required so you may be able to optimize. antwal's comment in issue 476 helped and I added the python27 package.

@sher
Copy link

sher commented Mar 28, 2017

When using Ansible, node-pre-gyp ERR! halts the playbook execution.

@recrsn
Copy link
Collaborator

recrsn commented Mar 29, 2017

@TundraX Ensure the following packages are present python g++ and make.

@seonman
Copy link

seonman commented Apr 4, 2017

As @akrumel mentioned above, adding '.ebextensions/app.config' makes everything OK.
But, you should be aware that AWS Beanstalk with t1.micro will cause the bcrypt installation error. After switching it to t2.small, I could find everything working well.

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

No branches or pull requests

5 participants