Quote Originally Posted by erpa1119 View Post
create a file called ".senchasdk" in your sdk folder with the value of "." meaning that this folder is an sdk folder.

my paths are:
/Projects/SenchaTouch2/SDK/ -- I put the .senchasdk file in here

--Hope this helps
Worked for me in OSX LION. I've been executing from SDK folder not sdktools.. although i got this problem..
romans-imac-2% sencha generate app GS ../GS

throw e; // process.nextTick error, or 'error' event on first tick
Error: Cannot find module '/Users/holms/Development/sencha/touch/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)