Android developpement, Gottox socket.io-java-client: file not fount Exception /socket.io/1/

天大地大妈咪最大 提交于 2019-11-29 11:29:01

I solved the problem today by reverting to an earlier version of socket.io on the server-side (an earlier version of the socket.io Node module). Perhaps the protocol changed?

To do this:

  1. Delete the socket.io folder in your node_modules folder.

  2. On the console type:

npm install socket.io@0.9.16

That should do it... it worked for me :)

(obviously this doesn't completely solve the problem but the earlier version of socket.io worked fine for me for my purposes)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!