node.bcrypt.js: bcyrpt installation suddenly failing when pushing to heroku/installing locally on macOS
I have been using bcyrpt 0.8.5 with node 0.10.32 successfully for a while now. However, pushing to Heroku today and also trying to install the bcrypt library locally it fails to install.
I update to the latest version of bcrypt 1.0.1 and the node stable version 6.9.2 and still see the following error:
node-pre-gyp ERR! Tried to download: https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.1/bcrypt_lib-v1.0.1-node-v48-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.1 and node@6.9.2 (node-v48 ABI) (falling back to source compile with node-gyp)
The above path doesn’t resolve.
Path to latest binary under /releases/ listed as https://github.com/kelektiv/node.bcrypt.js/archive/v1.0.1.tar.gz
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 17
- Comments: 21
Commits related to this issue
- updated repository field ncb000gt --> kelektiv — committed to kelektiv/node.bcrypt.js by goatandsheep 8 years ago
- Auto-release compiled modules from Travis CI This closes #470, closes #473 and closes #467 — committed to fast-facts/node.bcrypt.js by recrsn 7 years ago
Same problem.
Ubuntu 16.04 LTS Node 4.4.7 npm 2.15.8 bcrypt 1.0.2
node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v46-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@1.0.2 and node@4.4.7 (node-v46 ABI) (falling back to source compile with node-gyp)
Run
npm install --global --production windows-build-toolswith administrator rights helps me on Win10 Pro x64.This is not an issue with the library. This is due to in availability of a build toolchain in your systems. The requirement for a appropriate build toolchains for various systems is listed here
This library uses node-pre-gyp which downloads precompiled libraries if available, for the last releaes there are no binaries yet therefore you must have a toolchain installed. Any node-pre-gyp related errors can be safely ignored.
I just tried to install latest bcrypt module and I am getting a similar error:
I cannot resolve the link in the log, so I am guessing it is a misconfiguration in the module?