console.log(); doesn't work in the socket.io connections.
h
vedprad1 (693)

For some reason, the console.log() function does not work in the socket.io part of the program:

io.on('connection', (socket) => {
  console.log('User connected');
  socket.on('disconnect', () => {
    console.log('User disconnected');
  });
});

All help appreciated!

You are viewing a single comment. View All
oluwamayowa (1)

@vedprad1 No prob, if you need any more help ask away!