Closed Raam124 closed 1 year ago
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" />
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