Information Security with HelmetJS - Understand BCrypt Hashes

Tell us what’s happening:

Hi, I’m trying to pass this test.
I added
const bcrypt = require(‘bcrypt’);
on the server.js file and I have bcrypt as a dependency.

npm list
├── bcrypt@5.0.1
├── body-parser@1.19.0
├── cors@2.8.5
├── express@4.17.1
├── helmet@3.23.3
└── mongodb@2.2.36

However the test aren’t passing. Any idea why?
Yeah, I alredy;

  • Restarted the server (like a million times)
  • Tried to use this in gitpod.io



Your project link(s)

solution: https://3000-damperdoor5-boilerplate-1q3utu45ikk.ws-us120.gitpod.io/

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Information Security with HelmetJS - Understand BCrypt Hashes

I’ve even accessed the FCC endpoints for the tests:
https://3000-damperdoor5-boilerplate-1q3utu45ikk.ws-us120.gitpod.io/_api/server.js
https://3000-damperdoor5-boilerplate-1q3utu45ikk.ws-us120.gitpod.io/_api/package.json

And they are showing bcrypt in the file!