Advanced Node and Express - Implement the Serialization of a Passport User

Tell us what’s happening:

The first test is not passing, and there are no errors in the terminal or live page to indicate where the issue might be. I have created a separate .env file with my uri and SESSION_SECRET, both of which seem to be okay as I resolved the errors they were throwing before. I am working from local, and my cloned repo can be found here.

Screenshot of the terminal:

I also have screenshots of the .env, challenge, and live pages if anyone would find those helpful; the forum won’t let me post more than one photo at a time.

I’m not entirely sure how to proceed from here, as there is absolutely no indication of what the issue might be. I have tried:

  • Re-saving the relevant project files
  • Stopping and restarting the server from the terminal (many times)
  • Refreshing, closing and reopening the challenge page and live page
  • Extensive searching online and through the forums

Any help is much appreciated. Thanks!

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge Information:

Advanced Node and Express - Implement the Serialization of a Passport User

how did you end on port 8080? the server is starting on port 3000

The sample.env had port 8080 listed and I didn’t want to mess with it, so I kept the same in the .env file. I have tried switching everything to 3000 and still have the same issue.

Update the title and message in res.render to be the same as in the code posted on the challenge step.

I believe it is only the title you need to update, but do it for both anyway.

Beautiful, thank you so much!!