Tell us what’s happening:
I have included helmetJS dependency in package.json file and require this module in my JS file, Still, I am getting below error while submitting my challenge,
// running tests
“helmet” dependency should be in package.json
// tests completed
Can anyone please help how can I pass this challenge?
Thanks in advance!!!
Your code so far
{
"name": "fcc-infosec-challenges",
"version": "0.0.1",
"description": "fcc backend boilerplate",
"main": "server.js",
"scripts": {
"start": "node myApp.js"
},
"dependencies": {
"express": "^4.14.0",
"helmet": "^3.21.2"
},
"engines": {
"node": "4.4.5"
},
"keywords": [
"node",
"hyperdev",
"express",
"freecodecamp"
],
"license": "MIT"
}
Challenge: undefined
Link to the challenge:
https://www.freecodecamp.org/learn/information-security-and-quality-assurance/information-security-with-helmetjs/install-and-require-helmet