View Full Version : Sencha Command woes...

6 Jan 2013, 4:03 AM

I just wanted to vent my frustration a little bit about the current version of the Sencha command and the documentation that goes with it.....maybe it will save some other people some time and from wasting a few hours like I did!

The documentation is out of date, and also there are pretty epic bugs after installing! I've wasted at least an hour fiddling and reading in the forums just to get it working. I was getting numerous error messages when trying to run the command, which were fixed by reading in the forum and issuing this command after cd-ing into the touch 2.1 directory:

export PATH=~/bin/Sencha/Cmd/$PATH

and then the command:


and then it works!

7 Jan 2013, 12:14 PM
I'm surprised you had to put Cmd in your PATH manually. This should have been taken care of automatically by the installer. Did you have Cmd or SDK Tools installed previously? If so, did you uninstall them first?


7 Jan 2013, 4:14 PM
Have to do some more testing....the first 2 builds failed (based on a Sencha generate app). Then I just tried it again with this first:

sencha generate app MyApp /Applications/MAMP/htdocs/MyApp

and then cd-ing into the directory and running
sencha app build....and the third time it works! Weird!

To get it working at all I did still have to enter this command first though in Terminal in order to issue the Sencha command in the first place:

export PATH=~/bin/Sencha/Cmd/$PATH

I am on Sencha Touch 2.1 and Sencha Command, With Mac OS X 10.8.2. I also uninstalled the SDK tools and reinstalled the Sencha Command.

I did also download and install the latest Sun Java, but not sure that had an effect as I had a failed build after installing that.