Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. vnshine
V

vnshine

@vnshine

Chat Follow Unfollow
0
Reputation
2
Posts
998
Profile views
0
Followers
0
Following
Joined 31 Oct 2018, 10:22 Last Online 1 Nov 2018, 10:10

  • Profile
  • More
    • Continue chat with vnshine
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
vnshine Follow

Posts made by vnshine

RE: Error colyseus/lib/Server.js:22 when run on Real Server

@vnshine i have resolved it
will be keep this for someone who have need that
just update nodejs to last version

posted in Questions & Help • 31 Oct 2018, 15:49
Error colyseus/lib/Server.js:22 when run on Real Server

I have build tic tac toe example in my local server it run normally but when i push it on real server i get error like this:
server/node_modules/colyseus/lib/Server.js:22
constructor(options = {}) {
^

SyntaxError: Unexpected token =
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 Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/werewolf/server/node_modules/colyseus/lib/index.js:8:16)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)

My server using: Ubuntu Linux

posted in Questions & Help • 31 Oct 2018, 10:35

© 2023 Endel Dreyer