I wasn’t exactly sure where to post this for this step, but I found that creating the environment variable was giving me trouble. I didn’t know if I was supposed to add it to the “sample.env” file, but Replit already has a built in feature that generates a key which I used instead and got my code to stop producing the error.
I just thought I should post that just in case someone runs into the same problem.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Challenge: Advanced Node and Express - Set up Passport
Link to the challenge: