Sockets 03: Setting up Socket.IO

Error: Cannot GET /socket.io/socket.io.js is showing.
My code was the same as bhaiya’s code. Why is my code showing an error?

Hi @udaycodingblocks,
You might not be using the correct variable for initialising socket.io . Please share your code for further assistance on this problem in form of a GitHub repo link.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.