Geckos Server Help Needed

Hey guys… I am having trouble with geckos.io

I am just trying to start the server. SHOULD be real simple.

I have a index.ts

package.json

tsconfig.json

But i keep getting a ERR_REQUIRE_ESM error

Now this is just trying to create and run the server app. Which should be a simple thing

I tried to let @yannick know but i have not heard back from him.

If there is anyone out there who knows what the deal is with geckos.io … please help a brotha out.

I was considering using geckos.io as the default multiplayer network library for the Babylon Unity Toolkit. But i am having trouble with just creating the server app. Not to mention i cant figure out how to actually use the snapshot library… especially in a client auth model where i need to send snapshot packets from the client to the server and broadcast those to other clients.

I feel so stupid not being able to get these project up and running :frowning:

If there are any lovers of geckos.io and would also like to see it in use with the Babylon Unity Toolkit over colyseus.io… hit me up… Please

Geckos.io is shipped as esm modules.
Please read: yandeu/2020-05-28-esm-for-nodejs.md at main · yandeu/yandeu · GitHub