Lime is being a pain to install

Hello,
I am receiving this issue when I try and setup openfl and lime
I use this command
haxelib run lime setup:

Called from ? line 1
Called from CommandLineTools.hx line 1330
Called from CommandLineTools.hx line 25
Called from CommandLineTools.hx line 64
Called from CommandLineTools.hx line 1037
Called from /usr/lib/haxe/std/neko/_std/sys/io/File.hx line 30
Uncaught exception - [file_contents,/haxelib.json]

I removed lime and reinstalled it
running 2.0.6

haxelib path lime:
-L lime/2,0,6/ndll/
D:\Development\HaxeToolKit\haxe\lib/lime/2,0,6/
-D lime=2.0.6

anyone else experiencing this issue?

No, this is very unusual.

It should be looking for the “lime” haxelib, routed through here:

https://github.com/openfl/lime/blob/master/tools/helpers/PathHelper.hx#L161

Perhaps Haxe is being weird about being installed in a directory other than the default, though “haxelib path lime” seems to be working. I get something like this:

-L D:\Development\Haxe\lime\ndll/
D:\Development\Haxe\lime\
-D lime

What version of Haxe and haxelib are you using?

Issue about it already has here https://github.com/HaxeFoundation/haxe/issues/3712 . It was a time ago, but it was not solved. 3.1.0-rc4 of haxelib and some of latest haxe build on moment when I got this error. No error for stable 3.1.3 haxe.

I see the changes, now all works! Thanks!

Awesome, that’s what I like to hear :success:

Seems it is back again. But I am not shure what exactly I broke. I install last Haxe dev-build, last hxcpp dev-build, last OpenFl dev-build and of course last Lime dev-build (all of them was downloaded and installed today). And again:

Called from ? line 1
Called from CommandLineTools.hx line 1328
Called from CommandLineTools.hx line 25
Called from CommandLineTools.hx line 64
Called from CommandLineTools.hx line 1035
Called from C:\HaxeToolkit\haxe\std/neko/_std/sys/io/File.hx line 30
Uncaught exception - [file_contents,/haxelib.json]
Build halted with errors (haxelib.exe).

Try running haxelib path lime, what does it return?

-L C:\HaxeToolkit\lime-master\ndll/
C:\HaxeToolkit\lime-master\
-D lime=2.0.4

2.0.4, but how?

Try running haxelib dev lime path/to/your/new/clone again, or if the path is correct, try and open “C:\HaxeToolkit\lime-master” and see if you can do a pull?

I just removed dev-lime and cloned repo - and now all working fine.

Oh, not fine. This is for flash.

bin/flash/haxe/ApplicationMain.hx:19: characters 40-56 : Too many arguments
bin/flash/haxe/ApplicationMain.hx:21: characters 17-22 : flash.display.Stage should be lime.app.IModule
bin/flash/haxe/ApplicationMain.hx:21: characters 17-22 : For function argument 'module'
Build halted with errors (haxelib.exe).

I see the changes. Now flash works! Thanks!