Navigation

    Colyseus
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Users
    1. Home
    2. abrman
    abrman

    abrman

    @abrman

    Chat Follow Unfollow
    0
    Reputation
    1
    Posts
    227
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    • 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 •