epsile icon indicating copy to clipboard operation
epsile copied to clipboard

listen is not a function

Open AmanPatel18 opened this issue 3 years ago • 1 comments

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

TypeError: require(...).listen is not a function at Object. (C:\Users\patel\Downloads\Compressed\epsile-master\epsile-server.js:13:31) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) at Function.Module._load (internal/modules/cjs/loader.js:774:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47

AmanPatel18 avatar Jun 06 '21 06:06 AmanPatel18

just remove .listen

Ho3pLi avatar Jan 24 '22 17:01 Ho3pLi