Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WARN The current working directory is not a recognized Sencha SDK or application folder

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
like image 302
GibboK Avatar asked Aug 02 '12 14:08

GibboK


2 Answers

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

like image 136
paz Avatar answered Sep 19 '22 16:09

paz


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.

like image 35
Jacob Nelson Avatar answered Sep 19 '22 16:09

Jacob Nelson