samedi 3 juillet 2021

socket.io - reference error io is not defined

Socket Io Refernce Error

const io = require("socket.io")(8000);

This Is In My CLient.js

const socket = io("http://localhost:8000/socket.io/socket.io.js");

It gives me error in client.js io is not defined...




Aucun commentaire:

Enregistrer un commentaire