Tell us what’s happening:
I have tried installing npm into the boilerplate yet, it gives me a whole bunch of warnings, and errors.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Challenge Information:
Information Security with HelmetJS - Install and Require Helmet
These are the error’s and warnings
PS C:\Users\User\desktop\boilerplate-infosec> npm install
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm error code ENOENT
npm error syscall spawn C:\WINDOWS\system32\cmd.exe
npm error path C:\Users\User\desktop\boilerplate-infosec\node_modules\bcrypt
npm error errno -4058
npm error enoent spawn C:\WINDOWS\system32\cmd.exe ENOENT
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: C:\Users\User\AppData\Local\npm-cache\_logs\2025-04-06T19_38_35_510Z-debug-0.log
The challenges that deal with bcrypt is in a different boilerplate. The bcrypt package isn’t used in the boilerplate-infosec
boilerplate.
https://github.com/freeCodeCamp/boilerplate-bcrypt/