我使用的模板表达和角从教程。在前端(如sockets.io上的示例),我简单地添加了以下内容:
script(type='text/javascript', src='socket.io/socket.io.jsload resource: the server responded with a statu
这就是我开始学习本教程的原因:
我在我的个人服务器上运行这个程序,这是在Ubuntu上使用典型的LAMP服务器设置的。EIO=3&transport=polling&t=1413317092992-41 net::ERR_CONNECTION_REFUSEDsocket.io.js:2614XHR.request
s
我在youtube上找到了一段一步一步的教程视频,它创建了一个实时聊天网站,但下面是我一直遇到的一个错误:ReferenceError: io is not defined at /script.js:ie=edge"> <script defer src="https://Lime.restivetoo.repl.co:8080/socket.io/socket.io.js