travian-kingdom
travian-kingdom copied to clipboard
cant run the script
root@ubuntuserver:/var/www/html# node server/app2 /var/www/html/server/app2.js:210 getAllLine: async function (room, from, socket, line) { ^^^^^^^^
SyntaxError: Unexpected token function at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:374:25) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18) at node.js:966:3
also, i found another project for developers, see https://github.com/7thcubic/kingdom-server-bundle maybe help you :)