Make sure that both client and server have same major version of socket.io. For example, combination of socket.io@2.3.0 on server and socket.io-client@3.x.x at client leads to this case and the ‘connect’ event is not dispatched.
Make sure that both client and server have same major version of socket.io. For example, combination of socket.io@2.3.0 on server and socket.io-client@3.x.x at client leads to this case and the ‘connect’ event is not dispatched.