Tell us what’s happening:
Reinstale o pacote para garantir que ele foi configurado corretamente:
npm install helmet@3.21.3
Depois de confirmar que o helmet está instalado e configurado, execute novamente o servidor para garantir que ele está funcionando:
node myApp.js
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/132.0.0.0 Safari/537.36
Challenge Information:
Information Security with HelmetJS - Install and Require Helmet