That is because of a version problem. The most likely reason is that the socket.io used by the source code you downloaded is below version 0.9. Socket.io versions above 1.0 have undergone great changes and are incompatible.
It is recommended that you enter npm install socket.io@0.9
That is because of a version problem. The most likely reason is that the socket.io used by the source code you downloaded is below version 0.9. Socket.io versions above 1.0 have undergone great changes and are incompatible.
It is recommended that you enter
when installingnpm install socket.io@0.9