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 error in [email protected] #142

Open
vjpr opened this issue Jan 14, 2019 · 1 comment
Open

bcrypt error in [email protected] #142

vjpr opened this issue Jan 14, 2019 · 1 comment

Comments

@vjpr
Copy link

vjpr commented Jan 14, 2019

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

@benjlevesque
Copy link

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

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

2 participants