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

Failing to install prebuild binaries in node v12 and Ubuntu 18.04 #796

Closed
shivarajnaidu opened this issue May 6, 2020 · 4 comments
Closed

Comments

@shivarajnaidu
Copy link

  • What went wrong ?
    When I try to install bcrypt ( "bcrypt": "^4.0.1",
    ) in ubuntu 18.04 its getting failed with node v12.
    After installing build essentials and make its gets compiled in system itself.. but my concern is it is not working with prebuild versions..

  • What did you expect to happen?
    To be able to install without any issue

  • Which version of nodejs and OS?
    Output of lab_release below.
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.4 LTS
    Release: 18.04
    Codename: bionic

  • If you find a bug, please write a failing test.
    image

Thanks!

@recrsn
Copy link
Collaborator

recrsn commented May 13, 2020

Looks like an issue with needle again, we had this issue earlier. A workaround will be to run npm install request

@maxorlovsky
Copy link

@agathver indeed it solve the problem. Just a headsup for people who will end up here instead of requests you need to install request package. npm install request

@Brooooooklyn
Copy link

Try @node-rs/bcrypt

@recrsn
Copy link
Collaborator

recrsn commented May 29, 2020

NodeJS updated their OpenSSL library which broke needle which is used to download binaries.

As a workaround, do npm install request to let bcrypt use request to download binaries

mapbox/node-pre-gyp#500
tomas/needle#312
nodejs/node#33254

This issue was closed.
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

4 participants