When I register a new user and log in, the count/number of users connected does not appear in the console, why?

The challenge states the following:
Now, try loading up your app, authenticate, and you should see in your client console ‘1’ representing the current user count! Try loading more clients up, and authenticating to see the number go up.

However, when I register and log in a user to my app, nothing regarding the count appears in my console. How come?

(note that my code passes the test, it’s just disappointing that the console does not show what it should and I don’t know why)

This is what the console shows:

And this is what the browser shows:

Could it be that the user is not being authenticated? If so why?


Your browser information:

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

Challenge: Communicate by Emitting

Link to the challenge:

The log should be in the browser console seeing as the client.js is a script running in the browser. Do you not see it in the browser console?

1 Like

Hi @lasjorg

Thanks for your response

I just checked the browser console and got this:

So nothing on the console…

Any other ideas?

FYI: also, when I try to go into the /chat page, I get this (his chat page actually opens):

But this guy on youtube gets this:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.