I have followed the installation guide to install and am getting stuck on the errors I see in the command line.
If I navigate to the SDK and just type sencha I get -
[WARN] The current working directory (/Applications/MAMP/htdocs/sencha-touch-2.1.0-gpl/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.
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
I saw on a thread that if you add a hidden file called .senchasdk into the sdk then that will help.
But than I get this error -
throw e; // process.nextTick error, or 'error' event on first tick
Error: Cannot find module '/Applications/MAMP/htdocs/sencha-touch-2.1.0-gpl/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:19
This has me confused! There is no path sdk/command but there is sdk/cmd
If I try sencha generate app that has the same error
I have no idea how to progress. I have sencha cmd 3.0 installed but any sencha commands I do throws error.
Do I have to change the SDK path in /etc/paths/ ??