this is i have inculcated in my `chat.html` file to access the socket.io on client side ...main is my javascript file on client side
please replace file in last line as main.js file present inside js folder
<script src="/socket.io/socket.io.js"></script>
<script src="file"></script>
on console it is showing unreferenced socket.io referring to this below line
i am using this on my client side javascript file
const socket = io();