Tell us what’s happening:
Describe your issue in detail here.
it keeps saying helmet.frameguard() middleware should be mounted correctly and i did what was in the instruction,please what is wrong?
Your project link(s)
solution: boilerplate-infosec - Replit
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36
Challenge: Information Security with HelmetJS - Mitigate the Risk of Clickjacking with helmet.frameguard()
Link to the challenge:
Pretty sure it’s the caret in front of the version number
^3.21.3 in the package.json that is making it install version
3.23.3 which likely also updated the lock file. If you fork it even if you correct the version it will still install
@ochebarnnas12345 you can still follow @camperextraordinaire suggestion but you have to also correct the version in the package.json to not have a
^ in front of it.
Thanks @camperextraordinaire ! I had the same problem as OP and your solution resolved it.
downgrading Helmet to 2.3.0 according to the following temporary solution provided here Information security with HelmetJS #lesson-2 - #4 by ganeshh123 by ganeshh123 seems to work as well
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.