I recently downloaded the Sencha SDK and SDK tools. I installed the SDK tools and unzipped the contents of the sencha-touch-2.1.0-commercial.zip file to my web server. I wrote cd'd to the directory and ran the command to create the application to run, but I got this message:
abe@Dubai :/var/www/sencha-touch-sdk$ sencha [WARN] The current working directory (/var/www/sencha-touch-sdk) 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. ....followed by all the info on how to structure commands using sencha
I took it apart and found out that one of the ways sencha knows this is shena sdk folder is that it contains a hidden file called .sencha that was not in my sdk directory. Having created an empty .senchasdk file, I ran the command again, but this time I got:
abe@Dubai :/var/www/sencha-touch-sdk$ sencha node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module '/var/www/sencha-touch-sdk/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)
Interesting for me is that it is looking for the "command" directory, which does not exist in my SDK folder. I downloaded / extracted the wrong thing? I followed the download link for sdk that I received in my email from Sencha.
I am using Ubuntu linux. I hope this is not such a stupid question, as I think I did my best to investigate the problem.
EDIT: I just thought I'd add that I can visit the sencha-touch-sdk directory in my browser and I can see the documentation. It makes me believe that I have the right package in the end ... so once again I'm at a dead end.
source share