Misleading error message on unresolved dependencies (wrong version)
I wrote a haxelib that lists "flixel": "4.2.1" under dependencies. If I set it up locally by using dev and then install the latest HaxeFlixel (4.3.0), trying to compile my project gives me this error:
Error: Could not find haxelib "foo", does it need to be installed?
Instead, it should say something like:
Error: missing dependency flixel: 4.2.1, please install it.
This is very confusing, and had me initially looking at folder permissions and my haxelib.json as the source of the problem.
Which version of haxe (and so haxelib) do you have?
In the current one it gives me:
Error: Error: Library flixel version 4.2.1 is not installed
Haxe 3.4.2 and haxelib 3.3.0