Please help|| Hashing Your Passwords

Tell us what’s happening:
The error I am getting is:

BCrypt should be correctly required and implemented.

even though I have bcrypt properly in my dependencies and required. I have also edited as instructed the following pieces of code commenting with // the code replaced.

  //if (password !== user.password) { return done(null, false); }
      if (!bcrypt.compareSync(password, user.password)) { return done(null, false); }

and

//db.db("test")
                        //.collection('users').insertOne(
                        //{username: req.body.username,
                         //password: req.body.password},
                    var hash = bcrypt.hashSync(req.body.password, 12);
                    db.db("test")
                      .collection('users').insertOne(
                    {username: req.body.username,
                     password: hash},

Your code so far
https://glitch.com/~daily-waiting-tartan

Link to the challenge:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/advanced-node-and-express/hashing-your-passwords

Error: ENOENT: no such file or directory, stat ‘/app/views/pug/index’
is what i get when opening your project

It looks like yesterday FCC performed some work on their servers due to the increase in the number of people accessing FCC. I have also noted some of ENOENT errors appearing. Please check it again, it works now

Thank you!