GET /socket.io/?EIO=3&transport=polling&t=MLaWYlC 404 10.986 ms - 1665报错解决方案

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_40312194/article/details/81975441

nodejs启动程序报:

GET /socket.io/?EIO=3&transport=polling&t=MLaWYlC 404 10.986 ms - 1665

解决方案:

在bin 下的www中加入

var io = require('socket.io').listen(server);

猜你喜欢

转载自blog.csdn.net/qq_40312194/article/details/81975441