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
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