m-byte918 / MultiOgarII

A continued version of the original MultiOgar, an open source Ogar server implementation written with Node.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't start the server.

undekali opened this issue · comments

After I've downloaded the server (and Node) and followed the steps, at the command "node index.js" a syntax error is shown up:
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. (C:\Users\PC\Desktop\MultiOgarII-master\node_modules\ws\index.js:3:19)

I don't have a clue of what that means; I would appreciate some help as soon as possible.
Thanks in advance.

Seems like you have a version of node that doesn't recognize the ellipsis operator ...
You should be able to check what version of node is running with node --version.
You can try uninstalling node and reinstalling the latest stable version.
If that isn't the issue, let me know.

It works now! Thank you for your time.