SocketIOClient-Unreal-Example icon indicating copy to clipboard operation
SocketIOClient-Unreal-Example copied to clipboard

Issues with node.js v8.2.1 (Windows 10)

Open openformatproj opened this issue 11 months ago • 1 comments

Hi

I downloaded your repo and installed dependencies:

$ cd .\Server\
$ npm install --save-dev bufferutil@^4.0.1
$ npm install --save-dev utf-8-validate@^5.0.2

But when I try to start the server I get:

$ node index
.\Server\node_modules\ws\lib\websocket.js:461
      ...options
      ^^^

SyntaxError: Unexpected token ...
    at createScript (vm.js:74:10)
    at Object.runInThisContext (vm.js:116:10)
    at Module._compile (module.js:533:28)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (.\Server\node_modules\ws\index.js:3:19)

openformatproj avatar Mar 18 '24 17:03 openformatproj

looks like a problem with one of the dependency modules, try deleting your node_modules and just running npm i

getnamo avatar Apr 03 '24 04:04 getnamo