Basic Node and Express - Use the .env File

Tell us what’s happening:
Describe your issue in detail here.
I’ve tried installing npm dotenv to see if that might work or it might be something wrong with my code. I know we’re suppose to use the secrets tab in replit which is what I did, and I used that variable in my code but, it seems to be incorrect.


before it said the replit is waking up it says that it is wrong

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/102.0.5005.124 Safari/537.36 Edg/102.0.1245.41

Challenge: Basic Node and Express - Use the .env File

Link to the challenge:

Have you tried to run npm install so that all the necessary packages are installed? You will need to Stop the project, do the install, and then click Run again.