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. 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 • 23 Jul 2019, 22:24
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 • 26 Jul 2019, 14:58

© 2023 Endel Dreyer