1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    7
    Vote Rating
    0
    Chanckjh is on a distinguished road

      0  

    Default sencha: line 2: which: command not found

    sencha: line 2: which: command not found


    Hi,

    I downloaded "SenchaSDKTools-2.0.0-beta2-osx.app.zip" and "sencha-touch-2.0.1-rc.zip". I unzipped both of them. I start "SenchaSDKTools-2.0.0-beta2-osx". Installing is done.

    I go to my terminal enter "echo $PATH". I got this
    Code:
    /Applications/SenchaSDKTools-2.0.0-beta2:/Applications/XAMPP/xamppfiles/htdocs/HTML5/Sencha:/Applications/SenchaSDKTools-2.0.0-beta2
    I changed it with "export PATH=/Applications/SenchaSDKTools-2.0.0-beta2"
    Now I enter "sencha" and I got this
    Code:
    /Applications/SenchaSDKTools-2.0.0-beta2/sencha: line 2: which: command not found
    /Applications/SenchaSDKTools-2.0.0-beta2/sencha: line 2: dirname: command not found
    /Applications/SenchaSDKTools-2.0.0-beta2/sencha: line 3: /bin/node: No such file or directory
    how do I fix this?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Where did you install the SDK Tools to?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    7
    Vote Rating
    0
    Chanckjh is on a distinguished road

      0  

    Default


    In Applications

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I uninstalled 2.0.0 beta 1 as I first had it.

    I then installed 2.0.0 beta 2 and everything just worked great.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1