-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[haxe 4.0.1] still git dependecies error #483
Comments
Please, provide a sample |
I am also hitting this. I've come up with a repro involving transitive dependencies on git libraries and confirmed it is only an issue on Haxe 4.0.0 or newer (4.0.0-rc.5 was fine). Gist: https://gist.github.com/tbrosman/4d146abf3cb534e28be16646ffc04103 Instructions from Gist: OverviewA repro for an issue in Haxelib where versions on transitive dependencies are always parsed as SemVer. This breaks in the case where you have:
RunningTo check out the source:
Then, install locally in a new repo to avoid polluting your system's global haxelib repo:
Build:
Error:
Note that the dependency in the error is dummy-haxe-library-a (fa7...) referenced from dummy-haxe-library-b. |
My problem was solved by changing "version": "git" to "version": "0.0.1" in haxelib.json |
Fixed by #485. Released with Haxe 4.0.2 |
I'm trying build my project with haxe 4.0.1 and get
Error: Error: Cannot process [name of the lib]: git is not a valid version string. Same thing with haxe 4.0.0. Haxe 4 rc5 works fine.
The text was updated successfully, but these errors were encountered: