I'm using mac, I just downloaded the SDK and ruined the app. Installation was successful, but when using sencha from the terminal
$ cd /Applications/SenchaSDKTools-2.0.0-beta3
$ sencha
I receive this error
[WARN] The current working directory (/Applications/SenchaSDKTools-2.0.0-beta3) 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.
Any idea how to fix it? I'm using MAC 10.7.4
PS
I'm writing an additional command and I can see the following-
$ echo $PATH
/Applications/SenchaSDKTools-2.0.0-beta3:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Not sure if you're having an issue specific to Mac, however on Windows, you have to cd
to a sencha application directory. After downloading sencha touch, cd
to the sencha-touch-2.0.1.1
folder and you should be able to run the sencha
command there.
For example, try running
sencha generate app myApp myAppFolder
Please refer to the answer which I wrote here Generate a sencha touch app
On top of that, you need to set the path to your SenchaCmd directory.
for that
open /home/your_user_name/.bash_profile file
and type the following command at the end of the file
export PATH=${PATH}:/path/to/Sencha/Cmd/3.0.2.288
then type exec bash from your terminal.
This should solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With