haxelib icon indicating copy to clipboard operation
haxelib copied to clipboard

Misleading error message on unresolved dependencies (wrong version)

Open ashes999 opened this issue 8 years ago • 2 comments

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.

ashes999 avatar Jul 25 '17 18:07 ashes999

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

ibilon avatar Jul 26 '17 16:07 ibilon

Haxe 3.4.2 and haxelib 3.3.0

ashes999 avatar Jul 26 '17 17:07 ashes999