Information Security with HelmetJS - Understand BCrypt Hashes

Tell us what’s happening:

added const bcrypt = require(‘bcrypt’); to server.js.
but when i submit it in the course it fails completely. There is also no “add package” Button when i open the package.json file in vs code which is mentioned as solution in the forum. Or i dont see it. Pls help

###Your project link(s)

solution: https://fcc-info-sec-bcrypt-yqrq.onrender.com

Your browser information:

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

Challenge Information:

Information Security with HelmetJS - Understand BCrypt Hashes

I don’t know if you managed to validate it yet. I had the exact same issue as you and it was only a cors issue so I required cors in server.js and wrote an app.use(cors()) to fix it. Hope this helps.

thats very interesting, am still issuing this problem. I added const cors = require('cors'); under the bcrypt require and before the commentline for the async code i added the app.use(cors()) and when i enter the link in the coursesite i get still the same issues. Thank you for sharing your advice

it may be possible that the CORS issues mentioned in the banner at the top of the site are affecting multiple final projects

you can follow the issue here: