About npm install socket.io-client open the link in two tabs to see the communication- http://localhost:4200/