mnyon-grandkru / knowledgebase

An issue tracker of error messages discovered while developing as well as their solution.
https://github.com/mnyon-grandkru/knowledgebase/issues
MIT License
2 stars 0 forks source link

Error downloading/installing bcrypt #20

Closed trystant closed 6 years ago

trystant commented 6 years ago

During a Travis run, @ZaBAOW ran ino the following errors in the build:

node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v2.0.1/bcrypt_lib-v2.0.1-node-v64-linux-x64-glibc.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for bcrypt@2.0.1 and node@10.0.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp) 

I currently think that this is a problem related to the Node version 10 release. I am going to encourage @ZaBAOW to enforce using Node version 9.x to see whether that issue still exists.

trystant commented 6 years ago

Following the advice from the Travis documentation, I suggest that @ZaBAOW modify his .travis.yml to include the following:

language: node_js
node_js:
  - "9"

I'll now confirm what is currently in his project.

trystant commented 6 years ago

So, after locking down the Node version to 9.x, the bcrypt installation error has been resolved. I am going to check to see whether the bcrypt and node version 10 issue has been noted and /or resolved.

trystant commented 6 years ago

It looks like this issue is referenced in https://github.com/kelektiv/node.bcrypt.js/issues/599

trystant commented 6 years ago

This can be closed, even though it needs more documentation