4 Nov 2011 8:03 AM #1
sencha: command not found
I installed the linux version of the SDK tools and when I open a command line window and type sencha it says: sencha: command not found
I even installed with sudo in front of it to make sure I'm not doing it wrong. Installer works ok, it creates the uninstaller and everything but 'sencha' is not found. Any idea why is that?
4 Nov 2011 11:51 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Your path didn't get updated?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
4 Nov 2011 2:58 PM #3
10 Nov 2011 2:08 AM #4
I'm not a linux guru, but maybe the problem is that you used sudo to install the tools so it updated the root user's path and not the user you are logged in as when trying to use the tools?
sudo su echo $PATH
You probably just need to do this to get things to work (when logged in as your normal user):
export PATH=$PATH:/opt/SenchaSDKTools-1.2.3:/opt/SenchaSDKTools-1.2.3/command:/opt/SenchaSDKTools-1.2.3/appbuilder:/opt/SenchaSDKTools-1.2.3/jsbuilderTry the Sencha Learning Center
22 Nov 2013 1:02 PM #5
Hmm, I don't have this problem when I am my own user ... but I do when I try to run sencha cmd as root withCode:
sencha fs web -p 80 start -map /path/to/sencha/folder/