Require Bcrypt Not Working in server.js

Tell us what’s happening:
I had to npm install bcrypt and require it in server.js file, which i’ve done. Tests are saying I’ve installed it correctly but bcrypt isn’t properly required.

What am I doing wrong? Any help will be appreciated.

Your project link(s)


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0

Challenge: Understand BCrypt Hashes

Link to the challenge:

It looks like you are using an old version of the project boilerplate. Follow either of the links at the top of the challenge to get the new version (replit, github).

1 Like

Hi, this fixed it! Thank you :grinning:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.