Advanced Node & Express: Chat App

I’ve passed all the challenges, and my code is identical to the code provided in the challenge for reference purposes to build the chat app. But I cannot display chat messages for some reason (covered in the last challenge of the module). Has anyone been able to display chat messages, and provide some help on this challenge?

Here is a link to my Replit Code: Replit Code: Chat App