Ezelia / eureca.io

eureca.io : a nodejs bidirectional RPC that can use WebSocket, WebRTC or XHR fallback as transport layers
http://eureca.io/
343 stars 30 forks source link

Type Error #47

Closed DanyDmt closed 6 years ago

DanyDmt commented 6 years ago

TypeError: Class constructor Server cannot be invoked without 'new' at new F (C:\Users\Desktop\tanks-04\node_modules\eureca.io\index.js:10:31) at new (C:\Users\Desktop\tanks-04\node_modules\eureca.io\index.js:16:16) at Object. (C:\Users\Desktop\tanks-04\server.js:15:20) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:191:16)