Results 1 to 5 of 5

Thread: sencha: command not found

  1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    53
    Vote Rating
    3
      0  

    Default 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?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,029
    Vote Rating
    1368
      0  

    Default

    Your path didn't get updated?
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Mar 2008
    Posts
    53
    Vote Rating
    3
      0  

    Default

    Probably not, how do I check?

  4. #4
    Sencha User bclinton's Avatar
    Join Date
    Nov 2007
    Posts
    296
    Vote Rating
    10
      0  

    Default

    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?

    Try this:
    Code:
    sudo su
    echo $PATH
    and see if the path is set there.

    You probably just need to do this to get things to work (when logged in as your normal user):
    Code:
    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/jsbuilder
    (adjusting that for any differences in your actual path)

  5. #5
    Sencha User
    Join Date
    Nov 2013
    Location
    Los Angeles
    Posts
    26
    Vote Rating
    0
      0  

    Default

    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 with
    Code:
    sudo sencha
    This is problematic when I try to run the tutorial command
    Code:
    sencha fs web -p 80 start -map /path/to/sencha/folder/
    because I get errors that my jetty server can't start because the permission is denied... I'm sure it's simple to get the command to be recognized by the sudo user (Ubuntu!).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •