Information Security with HelmetJS - Install and Require Helmet

So I started this course a couple hours ago,but can not seem to figure out how to update the ‘helmet’. its specifies to simply ‘use helmet’ and i have in myapp.js as weel as just upright changing the version numbers in the package(I know that was not going to work but all roads travelled right.) I run helmet in the same way:const express = require(‘express’);
const app = express();
const helmet = require(‘helmet’);

solution: boilerplate-infosec (2) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0

Challenge Information:

Information Security with HelmetJS - Install and Require Helmet

sorry nevermind i think im just going to give up on this one. I imagine im just not ready for this. thanks

Your code is correct but you must not have clicked the “Done” button when you started the boilerplate.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.