-
27 Jun 2012 5:57 PM #1
Unanswered: [WARN] The current working directory
Unanswered: [WARN] The current working directory
Hi there,
We have installed and are using MAMP on mac to run server. But when we launch the SDK we get the following error:
[ERROR] The current working directory (xxxx) is not a valid SDK directory. Please 'cd' into a SDK directory before executing this command.
We have added a directory in the SDK folder (in applications) and also where the sencha-touch-2.0.1.1 resides but still get the same error.
Could anyone please advise how to fix?
-
28 Jun 2012 6:53 AM #2Sencha Premium Member
- Join Date
- Apr 2012
- Location
- Lausanne, Switzerland
- Posts
- 196
- Vote Rating
- 2
- Answers
- 1
Same problem, very annoying, no solution. Can someone give a trick?
-
29 Jun 2012 6:37 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3156
What version of SDK Tools are you using? beta3? What command are you executing? If it is sencha app create then you must do that in the root directory in sencha-touch-2.0.1.1
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
1 Jul 2012 11:21 PM #4Sencha Premium Member
- Join Date
- Apr 2012
- Location
- Lausanne, Switzerland
- Posts
- 196
- Vote Rating
- 2
- Answers
- 1
Explain that black on white on a dedicated page and link us to it. Everyone is stuck in the same holes.
-
12 Nov 2012 7:01 PM #5
I have the same issue as well
I am using Mac OS 10.8 and I am trying to use Sencha Cmd 3.0.0 for sencha 2.1.0.
I have tried few steps to deal with and not successe :- For sencha 2.0.1 I use sencha SDK tool and works fine, but when I want to use new sencha release 2.1.0 I have to use Sencha CMD where I get the same error " [WARN] The current working directory ... " I did restart the MAC and still with no successe. The Sencha CMD was installed in BIN and followed all documented interaction ...
- Second try was to uninstall Sencha SDK tool for version 2.0.1 and use just Sencha CMD for new sencha 2.1.0, but now when i try to type "sencha" i get "-bash: sencha: command not found", i checked sencha CMD is installed in bin/Sencha/Cmd/3.0.0.250/ . I had a restart as well and as I expected did not help. There is some missing parts in what I did or something wrong ?
-
13 Nov 2012 5:32 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3156
Check your path to see if it is pointing to the dir it is installed in.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
13 Nov 2012 8:04 AM #7
How can I do it ? Is it a command in terminal.
You mean if 'sencha' command is pointed to the dir "/bin/Sencha/Cmd/3.0.0.250/sencha" , how can I check this info ?
Thanks!
-
13 Nov 2012 8:08 AM #8Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3156
Are you using Windows or Mac or Linux? Google is your friend also.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
13 Nov 2012 8:11 AM #9
-
13 Nov 2012 8:19 AM #10Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
- Answers
- 3156
You can check using Terminal and type:
It'll have a lot of paths in it each separated by a colon. This list comes from the ~/.profile file so you can edit that file to change the path. To see the change, you have to open a new terminal window for it to take affect, the current path will stick to the window so you won't be able to see the change until you open a new terminal window.Code:echo $PATH
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote