So I installed Haxe 4.0.5 (I read somewhere on the forum it is the latest supported one, is it ?) but if I try to do anything with OpenFl.exe in it I get an exception.
So I tried the fix I read on the boards, did: “haxelib run openfl setup -alias”, and it still throws the same thing.
Yeah, every single time I call openfl.exe it throws the error.
If I do haxelib run openfl it’s good.
So I removed openfl.exe and openfl files and tried : haxelib run openfl setup -alias
and this time it created new openfl.exe and openfl files. That run ok.
I don’t know what is going on though.
Going to see if everything is compiling in every target I use before I move on.
So weird.
May sound like a dumb question, except it’s happened to me before. When you installed haxe, did you install it to the same place as your previous installation?
The strange thing is you have haxelib 3.3.0 which is very old. It should be 4.0.2 with haxe 4.1.2. Seems like maybe there’s a problem with haxelib run openfl setup (or something) that is installing that old version of haxelib? Not really sure what’s going on there.