Failed: helmet.hidePoweredBy() middleware should be mounted correctly

Hi!

I’m getting an error in the second lesson on information security: https://www.freecodecamp.org/learn/information-security/information-security-with-helmetjs/hide-potentially-dangerous-information-using-helmet-hidepoweredby .

Everything seems to be fine. here is my repl.it project: boilerplate-infosec (5) - Replit

And the solution link is this one: https://boilerplate-infosec-5.elohimcampo.repl.co

You should be getting a reference error.

You have to require in helmet before you can use it.