express-typescript-boilerplate icon indicating copy to clipboard operation
express-typescript-boilerplate copied to clipboard

bcrypt error in [email protected]

Open vjpr opened this issue 6 years ago • 1 comments

What version of node do you use?

I encountered an error when using [email protected].

$ yarn start db.seed

dyld: lazy symbol binding failed: Symbol not found: __ZN4node19GetCurrentEventLoopEPN2v87IsolateE
  Referenced from: xxx/node_modules/bcrypt/lib/binding/bcrypt_lib.node
  Expected in: flat namespace

dyld: Symbol not found: __ZN4node19GetCurrentEventLoopEPN2v87IsolateE
  Referenced from: xxx/node_modules/bcrypt/lib/binding/bcrypt_lib.node
  Expected in: flat namespace

I see that bcrypt 3 is being used.

"bcrypt": "^3.0.3",

I have found that bcrypt@3 doesn't work with 8.9.0 (even though bcrypt compatibility says >=)

https://github.com/kelektiv/node.bcrypt.js#version-compatibility

vjpr avatar Jan 14 '19 15:01 vjpr

I've also encountered issues with bcrypt, to build the docker image... this solved my issue https://stackoverflow.com/a/29320712

benjlevesque avatar May 24 '19 10:05 benjlevesque