Can't login a user using bcrypt (dyld: Symbol not found)
That's how I've solve it. If this happen to you, you might try to install the bcryptjs package (yarn add bcryptjs
) and replace:
const bcrypt = require("bcrypt");`
by:
const bcrypt = require("bcryptjs");
Hope it will work for you too!