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. abrman
abrman

abrman

@abrman

Chat Follow Unfollow
0
Reputation
1
Posts
699
Profile views
0
Followers
0
Following
Joined 4 Feb 2021, 16:42 Last Online 4 Feb 2021, 21:22

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

Posts made by abrman

RE: Room Error. (SOLVED)

Posting to expand on the answer, was stuck on this one for several hours.
In my project I have a typescript colyseus server and a client which uses typescript, react & webpack.

I had tsconfig.json in both server/ and client/ directories + a basic one in the project root with just experimentalDecorators and esModuleInterop set to true to get things going.

I tried setting target to ES2016 in ./tsconfig.json and ./client/tsconfig.json but that did nothing until I added "include": ["node_modules/colyseus.js/**/*" ] into the root config. - That helped me.

Hope this helps someone down the line.

posted in Questions & Help • 4 Feb 2021, 16:59

© 2023 Endel Dreyer