Install and Require Helmet not passing

At the behest of other friendly campers, I am using Glitch now so everyone can see my code, but still running into errors.

This is the challenge I am having trouble with :slight_smile:

https://ahead-star-oboe.glitch.me - this is the LiveApp Code I think

I am using these guides to help me :slight_smile:

I installed Helmet but when I ran the other part of the code it did not pass. Please help me understand why.

Thanks to all the friendly people here and at the Discord for volunteering to assist. I appreciate it. However also having a ton of trouble understanding the instructions sometimes.

Am I correct in understanding that these instructions are for Node, Chai and all the other lesson paths? They all seem to lead to repositories and require going to these sites. Am I not supposed to change the code inside for one challenge, or for all?

Your project link(s)

solution: Glitch :ο½₯゚✧

Your browser information:

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

Challenge: Install and Require Helmet

Link to the challenge:

Both your myApp.js and server.js files look to be from a different starter boilerplate.

Use this starter, add the package then try the submit again.

Yes I am using different starters from different courses. Do I need to use the same starter for all courses?

No, you need to use the starter project provided on the starting page of the specific challenge section. So for the Information Security with HelmetJS it provides links to a GitHub repo and a Replit. That is the starting code you should use.

So you cannot use the same starter for different courses because of the different code?

Yes, they each have their own setup code.

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