OpenFL installation / HelloWorld project help


I am very new to Haxe / OpenFL and such, and I would very much like to learn more about these. I’ve installed Haxe 3.2.1 and OpenFL 3.5.3 with these commands:

haxelib install openfl
haxelib run openfl setup

Now running openfl shows it works. However, running this command:

openfl create project HelloWorld

gives me:

Error: Could not find haxelib "openfl-samples", does it need to be installed?

The install is fresh. Am I doing anything wrong so far? What can I do to fix this? I’ve stumbled upon some help from discussions in various communities but none seemed to work for me.

Thank you for reading and have a nice day!

Your are missing the openfl-samples library,
which is strange since haxelib run openfl setup should have installed it.

To fix it you can manually do haxelib install openfl-samples,

but it’s worth a try to redo haxelib run openfl setup since you may be missing other libs,
also does that command prints any error messages?

1 Like

Redoing the openfl setup didn’t work unfortunately (no error message either), but manually installing openfl-samples did. Thank you very much for your help!

This was a little regression in a recent release, should be fixed on Git, now, I’m sorry for the trouble :slight_smile:

1 Like