I've been trying to install Sencha Touch 2 on my mac but without any success.
Initially I -
- Downloaded the latest Sencha SDK and it created a touch-2.1.1 folder.
- Downloaded and installed latest Sencha SDK tools 2.0.0 - Beta 3.
- Downloaded and installed latest Sencha Cmd 3.1.0.256 for mac in the default path it was showing i.e. Users/[User-name]/bin
After this I navigated to the touch-2.1.1 folder in the terminal and typed "sencha" to check if it was working. I got the following error -
[WARN] The current working directory (/Users/administrator/Desktop/tushar/Hybrid-ness/touch-2.1.1) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
Sencha Command v2.0.0 Beta 3 Copyright (c) 2012 Sencha Inc.
usage: sencha COMMAND [ARGS]
The available commands are: build build a JSB project create bootstrapdata generate boostrap data create jsb generate a minimal JSB project for an app create locale generate a template locale file from source create manifest generate classes manifest package package your Touch web app into a native bundle slice theme slice a custom theme's images for IE
See 'sencha help COMMAND' for more information on a specific command.
After this I googled around and found that ONLY Sencha Cmd is needed and not Sencha SDK Tools. So I deleted the Sencha SDK Tools from /Applications (I am ashamed of this step)
I navigated to /Users/administrator/bin/Sencha/Cmd/3.1.0.256 and gave the command -
./sencha generate app Myapp ../MyAPp
And i was punished with
After that I've been trying different solutions like one mentioned HERE, but its still not working.
Can anyone help pls.
PS-
I've removed Sencha SDK tools but i'm still getting the folder reference when i do echo $PATH.
/Applications/SenchaSDKTools-2.0.0-beta3:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
I did PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin, and checked the $PATH again then sdk tools were removed. I closed the terminal, reopened it and gave echo $PATH...this time again I could see the SDK tools path in the $PATH.
What exactly happened here???
$HOME/.profile
or$HOME/.bash_profile
– suspectussencha.cfg
- the framework.dir directory is possibly missing. Have you checkedsencha.cfg
to see what the setting is? – suspectus