4slam
March 30, 2021, 2:51am
1
Tell us what’s happening:
Your project link(s)
solution: https://boilerplate-infosec.4slam.repl.co
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
.
Challenge: Install and Require Helmet
Link to the challenge:
The reason why the tests are not passing is because the tests for this challenge are broken. To pass this challenge, simply uninstall the latest version of Helmet and install any version of Helmet 2. I was facing the same issue when I did this challenge. I hope this helps!
sanity
March 30, 2021, 5:25am
3
Do you have that exact version in package.json
or have used command written in instructions?
Sky020
March 30, 2021, 2:37pm
4
Welcome, there.
Looking at your code:
"dependencies": {
"express": "^4.14.0",
"helmet": "^3.21.3"
},
The caret (^
) indicates a non-exact version. The instructions do give you a command you can use to install an exact version:
npm install --save-exact package@version
Hope this clarifies
@Sky020 Shouldn’t the test be accepting the caret?
install-and-require-helmet.md
Edit: I forked the project and it is passing for me.
Sky020
March 30, 2021, 3:09pm
6
Correct. I submitted the users project link, and it passed. Thanks, @lasjorg , I had forgotten we included that.
Seems like an issue of the project just not running during the submission.
4slam
March 30, 2021, 9:45pm
7
Still not passing for me. With or without the caret preceding Helmet’s version no.
The app was absolutely running every time I tested.
The test doesn’t seem to be giving consistent results, which is probably why there are several help requests for this step .
I’m going to move on but the track will show I didn’t complete this step.
4slam
March 31, 2021, 1:16am
8
My bad!
Didn’t realize I was blocking scripts (in the browser) that the test apparently needs. Passed after I unblocked them
system
Closed
September 29, 2021, 1:17pm
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.