Navigation

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

    Best posts made by hlarcher

    RE: Uncaught TypeError: Cannot read property '_schema' of undefined

    You're right, its not easy to test from what I've shown, I just assumed I was doing something obviously wrong that you would pickup off the bat.

    I'll setup a repo with it, at the moment its split into 2 different ones and has a lot of unnecessary code.

    Thanks again, I'll let you know when its done.

    posted in Questions & Help •
    RE: Uncaught TypeError: colyseus_js__WEBPACK_IMPORTED_MODULE_1___default.a is not a constructor

    ah so it should be:

    import { Client } from 'colyseus.js';
    //...
    this.client = new Client('ws://localhost:2567');
    

    otherwise it yields cannot find Client of undefined.

    Thanks, it works now :)

    posted in Questions & Help •