colyseus / colyseus-haxe

⚔ Colyseus Multiplayer SDK for Haxe

Home Page:https://docs.colyseus.io/getting-started/haxe-client/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type not Found Error

Raam124 opened this issue · comments

Main.hx:1: characters 8-30 : Type not found : io.colyseus.Client
Main.hx:2: characters 8-24 : Type not found : io.colyseus.Room
Main.hx:4: characters 18-24 : Type not found : Client

I'm doing exactly how the document says but still getting these errors

Turns out you didn't install the library properly. Make sure you run haxelib install colyseus before running example.

I've installed it properly and still getting this

Your problem is not that you have not installed the library, but rather you seem to have not imported it.
Go to Project.xml & put the following next to the other libraries:

<haxelib name="colyseus" />