Couldn't get passed this level "Understand BCrypt Hashes"

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

2 Likes

do you have to import at the top of the file?

1 Like

Check out this post.

You need to create a new glitch project for this exercise and so forth.

4 Likes

Thanks pal, it works. Have a nice day! :slight_smile:

Exactly.
That is the solution