flixel command doesn't work

638 views
Skip to first unread message

Sergio

unread,
Feb 18, 2014, 9:21:33 AM2/18/14
to haxef...@googlegroups.com
I've tried today to make a new flixel project, I've used from this page:


the command:

flixel tpl -n "HelloWorld"

which says that command is not found (I'm on windows 7)

When I tried:

haxelib run flixel tpl -n "HelloWorld"

I'm getting:

Library flixel version 3.1.0 does not have a run script

Gama11

unread,
Feb 18, 2014, 9:23:17 AM2/18/14
to haxef...@googlegroups.com
Have you run "haxelib run flixel-tools setup"? Either way, this should work for sure:

haxelib run flixel-tools tpl -n "HelloWorld".

Snow

unread,
Feb 19, 2014, 12:14:27 AM2/19/14
to haxef...@googlegroups.com
I have the same problem: "Library flixel version 3.1.0 does not have a run script". Even after installing and running flixel-tools setup. When I check my directory, flixel-tools are installed in the correct location and the command file run.n is happily sitting inside the folder. 

My problem began after I stupidly uninstalled haxelib. I reinstalled it and then I wasn't able to use the run command anymore. I hope this problem can be fixed.

Sergio

unread,
Feb 19, 2014, 1:26:06 AM2/19/14
to haxef...@googlegroups.com

Thank you very much, it worked when I used flixel-tools, but I think this page:


must be updated with flixel-tools command.

Sergio

unread,
Feb 19, 2014, 1:27:26 AM2/19/14
to haxef...@googlegroups.com

Gama11

unread,
Feb 19, 2014, 3:47:26 AM2/19/14
to haxef...@googlegroups.com
Sorry, I don't understand, what needs to be updated there? The page explains how to install flixel, not flixel-tools.

If the flixel command does not work after you ran "haxelib run flixel-tools setup", something must've went wrong with copying the flixel.bat in the bin subdirectory of flixel-tools to "C:\HaxeToolkit\haxe" (that's the default location for haxe installations anyway, could be different for you). You can manually copy that file there and it should work.

Samuel Batista

unread,
Feb 19, 2014, 3:34:23 PM2/19/14
to haxef...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages