Tell us what’s happening:
I’ve tried multiple times to import/require BCrypt in the
server.js as said in the problem description and also tried on the
mainApp.js file. Always fails.
While testing it detects that BCrypt is installed but says that I’m not requiring it properly.
Can someone help?
Your code so far
const bcrypt = require('bcrypt'); Also tried with var and multiple ways to write BCrypt, always fails the same way in both files.
Your browser information:
User Agent is:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.146 Safari/537.36.
Challenge: Understand BCrypt Hashes
Link to the challenge: