Error from the command ''haxelib run lime test windows''

So i tried to build a game with the command ‘‘haxelib run lime test windows’’ on the command prompt and this happened :

C:\Users\Utilisateur>haxelib run lime test windows
Error: You must have a “project.xml” file or specify another valid project file when using the ‘test’ command.

Then I tried putting the path where the project.xml is, but then this other thing happened:

C:\Program Files (x86)\Funkin-master>haxelib run lime test windows
Called from ? line 1
Called from CommandLineTools.hx line 1895
Called from CommandLineTools.hx line 22
Called from a C function
Called from CommandLineTools.hx line 126
Called from CommandLineTools.hx line 641
Called from lime/tools/PlatformTarget.hx line 98
Called from WindowsPlatform.hx line 757
Called from hxp/System.hx line 653
Called from /usr/share/haxe/std/neko/_std/sys/FileSystem.hx line 81
Uncaught exception - std@sys_create_dir

I don’t know what to do now. Can somebody please help me?

Yes you must run the lime command from the root of the openfl project.

Looking at the path I guess it’s some right issue, you could try again in an admin prompt, but I’d recommend putting the code somewhere you have write access, like in your user folder.

Also while you’re welcome to post openfl questions here, you’re more likely to obtain help on their forum.

1 Like

Thanks a lot!