Information Security with HelmetJS - incorrect node version in glitch package.json
Describe the bug
Working through the challenge Information Security with HelmetJS - Hash and Compare Passwords Asynchronously I noticed the console complaining about the node version. It is looking for v4 but v8 is currently used.
EDIT: change challenge link to live!
To Reproduce
Steps to reproduce the behavior:
- Go to the challenge.
- In glitch project add
bcryptas a dependency and require it inserver.js - follow the instructions in the challenge, using bcrypt hash and compare
- open the logs window to see
Could not find node 4.4.3, using 8, just before the console.log outputs.
Expected behavior
the message should not appear
Screenshots
n/a
Desktop (please complete the following information):
- OS: ubuntu xenial
- Browser firefox
- Version 61.0.1 (64-bit)
Additional context
Note this challenge follows on from the previous challenge, hence step 2 above to include and require bcrypt.
@nikrb in package.json node engine is v4.4.3 which is not currently supported by glitch. The below link gives a list of node versions supported by glitch https://nodeversions.glitch.me
@Nirajn2311 locally I use nvm with "lts" option, which gives 8.11.2.
glitch console node -v gives 8.11.3 which is probably best for the time being?
I don't really know enough about this so any guidance appreciated.
Seems most of the challenge boilerplates need updating - or remove the node engine property?