Navigation

    Colyseus
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. abrman
    3. Posts
    • Profile
    • More
      • Continue chat with abrman
      • Flag Profile
      • Following
      • Followers
      • Topics
      • Posts
      • Best
      • Groups

    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 •