Information Security with HelmetJS - Install and Require Helmet

Tell us what’s happening:


hello I still don’t know how to use Gitpod but I added the necessary lines in myApp.js code and didn’t change the content of package.json but when I copy the URL and paste it in the solution link I face this error : // running tests
helmet version 3.21.3 should be in package.json
// tests completed
// console output
[Error]

###Your project link(s)

solution: https://freecodecam-boilerplate-a0poayx4fpf.ws-eu115.gitpod.io

Your browser information:

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

Challenge Information:

Information Security with HelmetJS - Install and Require Helmet

Hello, did you install Helmet from npm and use init to create the pkg json file.
From what I can see you have helmet but express has this little ascii hat code infront, this could be an issue.

We can’t see your code. If you need more help, share a snapshot of your Gitpod workspace or post a GitHub repo.


Make sure you are submitting the URL from the preview with the port number (starts with 3000-)

Don’t use it yet (app.use) only require it.

I don’t think it has broken anything, but I wouldn’t suggest you change the code at the bottom of the file.