I downloaded and installed Sencha Touch on my Mac (http://www.sencha.com/products/touch/download/sencha-touch-2.1/). Whenever I type sencha command in terminal I am getting the:
[WARN] The current working directory (/Users/jmc72) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
I tried to run it from different directories and output is the same.
My PATH looks like:
/Applications/SenchaSDKTools:
/Library/Frameworks/Python.framework/Versions/2.7/bin:
/Library/Frameworks/Python.framework/Versions/2.7/bin:
/usr/local/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/Applications/SenchaSDKTools:
/Users/jmc72/Sites/senchaSDK:
/usr/X11/bin
My .bash_profile:
export PATH=/Applications/SenchaSDKTools:$PATH
export PATH=/Users/jmc72/Sites/senchaSDK:$PATH
Sencha SDK (documentation ?) is located in /Users/jmc72/Sites/senchaSDK and SDKTools are located in /Applications/SenchaSDKTools
EDIT Following the suggestion I created the .senchsdk file but now I am getting the following error:
sencha
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/Users/sadmin/Downloads/sencha-touch-2.1.0-commercial/command/sencha.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
What am I doing wrong? Any help will be appreciated.