Error "io is not defined" socket.io

Asked

Viewed 32 times

1

Guys, this error is happening to me when using the socket.io: "io is not defined". Already link the CDN socket.io and locally; I’ve used and "disfigured" the Express and nothing.

The interesting thing is that when I open the source in the browser (CRTL + U) and click on the link of the client’s src file it says that it did not find the socket-io.js file (if it is linking locally the file)

Someone’s been through it?

  • 1

    The error occurs where? Add your code without it makes it difficult to locate the problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.