Haxelib update openfl invalid chunk

I’m trying to update openfl using haxelib. The command I’m using is:

haxelib upgrade

or

haxelib update openfl

But the console says: invalid chunk and doesnt update.

I have installed openfl 3.5.3 but my partner are using openfl 3.6.0

I’m using windows 7 64 bits.

This is the list of all libs installed:

actuate: [1.8.6]
admob: git [dev:C:\HaxeToolkit\haxe\lib/admob/git]
asiads: git [dev:C:\HaxeToolkit\haxe\lib/asiads/git]
dragonbones: git [dev:C:\HaxeToolkit\haxe\lib/dragonbones/git]
firetongue: git [dev:C:\HaxeToolkit\haxe\lib/firetongue/git]
flixel-addons: 1.1.0 1.1.1 [2.0.0]
flixel-addons_dev: git [dev:C:\HaxeToolkit\haxe\lib/flixel-addons_dev/git]
flixel-demos: 1.1.2 [2.0.0]
flixel-templates: 1.0.2 [2.0.0]
flixel-tools: 1.1.1 [1.1.2]
flixel-ui: 1.0.2 [2.0.0]
flixel: 3.3.11 3.3.12 [4.0.0]
flixel_dev: git [dev:C:\HaxeToolkit\haxe\lib/flixel_dev/git]
haxelib_client: [3.2.0-rc.3]
hscript: [2.0.5]
hxcpp: 3.2.102 3.2.171 3.2.180 [3.2.205]
hxlibc: [1.1.4]
hyprate: git [dev:C:\HaxeToolkit\haxe\lib/hyprate/git]
iap: [1.0.6]
inthebox-macros: git [dev:C:\HaxeToolkit\haxe\lib/inthebox-macros/git]
lime-tools: [1.5.7]
lime: [2.9.0]
nape: [2.0.19]
openfl-bitfive: git [dev:c:\haxetoolkit\haxe\lib/openfl-bitfive/git]
openfl-html5-dom: 1.2.1 [1.2.2]
openfl-html5: [1.0.5] 1.1.0-beta 1.1.1-beta 1.4.0-beta 1.4.1-beta 1.4.2-beta
openfl-native: [1.4.0]
openfl-samples: 3.3.0 [3.3.1]
openfl: [3.5.3]
poly2trihx: [0.1.4]
spinehx: [0.2.0]
SpriterHaxeEngine: [1.6.0]
SpriterHaxeEngine_dev: git [dev:C:\HaxeToolkit\haxe\lib/SpriterHaxeEngine_dev/git]
swf: [2.2.0]
task: 1.0.6 [1.0.7]
tilelayer: [0.2.0]

What can be the problem?

Check in C:\HaxeToolkit\haxe\lib for partially-complete zip files. If you find any, delete them, and your download should start working.

If that isn’t it, you can always download the file directly. Then use haxelib local to install it.

I tried deleting all from the lib folder but still is saying invalid chunk. I’ll try installing it locally.

This is weird. On the same computer but with different hard drive and OS it still giving me the same issue when I try to download openfl from haxelib. I installed haxe from the appman of HaxeDevelop.

What can be the problem?

Try downloading from haxe.org instead.

I did that, Thanks. But it is weird because it only happens with openfl and lime. I downloaded several other libs without problems.