I am trying to make a chat program using sockets, the problem I am having is that when I try to run the program I get the following error:
GET file:///C:/socket.io/socket.io.js net::ERR_FILE_NOT_FOUND
the following things I have tried doing:
- Using in the visual studio code's terminal
npm install socket.io
- Tried putting
socket.io/socket.io.js
instead of/socket.io/socket.io.js
Neither of the following have worked and I still get the same error: Here is the following code:
<script src="/socket.io/socket.io.js"></script>
If you need any more information please just send a message below