server compiled with TypeScript causes client to fail to connect with MatchMakeError: Class constructor Room cannot be invoked without 'new'
#559
Unanswered
SIGSTACKFAULT
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @SIGSTACKFAULT, this error is usually due to The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm unsure if this bug is in the client or the server, honestly. the error seems to happen in colyseus.js but it's caused by a change in the server.
Steps to Reproduce
to isolate variables, I wrote this docker container: https://gitlab.com/SIGSTACKFAULT/colesys-bug-container.
tl;dr:
client.joinOrCreate()
-> workstsc
client.joinOrCreate()
-> error:Context
I would expect the TypeScript example code to, y'know, work.
Your Environment
Beta Was this translation helpful? Give feedback.
All reactions