(To solve the issue download and install Haxe again)
EDIT: Probably your lib was right, I see now I've got installed the haxelib_client: [3.2.0-rc.3]
But, the haxelib in my usr bin was pointing at the lib removed
/usr/bin/haxelib: line 3: cd: /usr/lib/haxe/lib/haxelib_client/3,2,0-rc,2/src/: No such file or directory
--macro:1: character 0 : Class not found : tools.haxelib.Main
Currently clearlibs treats haxelib_client as regular lib
Not sure how it works on your system, but on my system(Windows) seems like it runs same haxelib.exe, maybe it gets recompiled when I run haxe update.hxml
clearlibs removed my haxelib_client and I can't install or remove anything anymore... (maybe bug introduced by the last version?)
Remove /usr/lib/haxe/lib/clearlibs/1,0,4 ? (y/n/a) [y/n/a] ? y Main.hx:152: Removing file: /usr/lib/haxe/lib/clearlibs/1,0,4/haxelib.json Main.hx:152: Removing file: /usr/lib/haxe/lib/clearlibs/1,0,4/run.n Main.hx:163: Removing folder: /usr/lib/haxe/lib/clearlibs/1,0,4 Remove /usr/lib/haxe/lib/haxelib_client/3,2,0-rc,2 ? (y/n/a) [y/n/a] ? y
This is quite a big issue, check it out!
(To solve the issue download and install Haxe again)
EDIT: Probably your lib was right, I see now I've got installed the haxelib_client: [3.2.0-rc.3] But, the haxelib in my usr bin was pointing at the lib removed