ERROR at: Advanced Node and Express - Set up the Environment

Tell us what’s happening:

Hello every one!

I was trying to complete the Advanced Node and Express - Set up the Environment exercise, and I couldn’t pass on the final task “Your client should connect to your server.”

I know that this section is under maintenance, but I would like to know if the problem is on my code or in the exercise.

Thanks!

Your code so far
https://repl.it/@juliano988/boilerplate-advancednode#auth.js

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66.

Challenge: Set up the Environment

Link to the challenge:

Hi Julio,

I had the same issue. The problem was that I created a new client.js file in the root folder instead of adding adding ‘let socket = io();’ to the client.js file already present in the public folder.

The FCC test passed after I made that change.

I hope it helps.

Cheers,

Phil :uk:

4 Likes

Thank you so much! I had missed that completely.