Closed zagortenej closed 5 years ago
Btw, hxp works ok with haxe 4.0.0-previe5 :wink:
Sounds like you need this change? https://github.com/openfl/hxp/commit/cfdd869a143d43e504158c5c9a8e540840c463e2
I think this change was released -- can you try haxelib update
? Thanks :smile:
Oops I forgot to mention version of hxp I'm using:
$ haxelib list hxp
hxp: [1.1.0]
I guess this is the latest? Update gives me:
$ haxelib update hxp
hxp is up to date
Thanks
The fix was not released yet.
Could you try haxelib update hxp
one more time?
Sure, I've got 1.1.2 now:
$ haxelib list hxp
hxp: 1.1.0 [1.1.2]
I guess some libs require 1.1.0, so that one's still there. Nevertheless, the error is gone and my scripts work again. Yay! :smiley:
Thanks!
I guess some libs require 1.1.0, so that one's still there.
Haxelib simply doesn't remove old versions on its own. The version in []
is the active one.
This error appears when running with Haxe 4.0.0-rc2 (tested on Linux and OSX). It doesn't matter what the script contains, as long as there's one for hxp to find and try to execute.
To reproduce:
Create file
script.hx
with content:Make sure you have haxe 4.0.0.-rc2 in your path:
Run hxp (via alias or via haxelib, same thing) with or without script name parameter: