Lime internal error after updating Openfl "Cannot iter on null"

I updated Openfl and Swf libraries to the latest version and now I can’t compile anymore, I get this error in Flash target and Html5 target as well:

Called from ? line 1
Called from CommandLineTools.hx line 1359
Called from CommandLineTools.hx line 25
Called from CommandLineTools.hx line 126
Called from CommandLineTools.hx line 579
Called from lime/project/PlatformTarget.hx line 70
Called from lime/tools/platforms/HTML5Platform.hx line 252
Called from lime/tools/helpers/FileHelper.hx line 375
Called from lime/tools/helpers/FileHelper.hx line 358
Called from lime/tools/helpers/FileHelper.hx line 150
Called from /usr/lib/haxe/std/haxe/Template.hx line 110
Called from /usr/lib/haxe/std/haxe/Template.hx line 366
Called from /usr/lib/haxe/std/haxe/Template.hx line 376
Uncaught exception - Cannot iter on null
Build halted with errors.

I fixed it updating lime. It seems that when you want to update openfl in a safe way you should run this 3 commands:

haxelib install openfl
haxelib install lime
haxelib install swf

undocummented?

I think openfl upgrade should update everything, even if you use development builds :slight_smile: