Type not Found Error
Raam124 opened this issue · comments
Raam124 commented
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
serjek commented
Turns out you didn't install the library properly. Make sure you run haxelib install colyseus
before running example.
Raam124 commented
I've installed it properly and still getting this
DillyzThe1 commented
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" />