I already tried to install the BCrypt package both in terminal (npm i bcrypt --save) and manually added it in package.json. Then adding the line "const bcrypt = require(‘bcrypt’); in server.js.
Thou I can’t pass the running test. It came out like:
// running tests
error
error
// tests completed
X BCrypt is a dependency
X BCrypt has been properly required