Tell us what’s happening:
I’ve added the dependency and also required it in App.Js. Still unable to pass the test.
Repl : https://repl.it/@akshitchaturved/boilerplate-infosec
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.3 Safari/605.1.15.
Challenge: Install and Require Helmet
Link to the challenge:
npm install --save-exact email@example.com
where should I enter this code?
If you check package.json , I’ve already mentioned
'helmet':"^3.21.3" over there , so the code should work.
In the terminal.
The issue is the
^ (caret) in the version. The caret means any version
So, if you read the whole issue, another solution is to manually alter the
package.json to delete the caret.
Hope this clarifies.