Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    148
    Vote Rating
    10
    pentool will become famous soon enough

      0  

    Default Sencha CMD 3.0.0.230 - No such property: 'create'

    Sencha CMD 3.0.0.230 - No such property: 'create'


    I'm looking at the 2.1.0-rc2 documentation (http://localhost/sencha-touch-2.1.0-...de/command_app)

    Under Guides > Writing Applications > Using Sencha Cmd with Sencha Touch. The guide makes references to the command "sencha app create" under the heading "Create a New Application".

    I keep getting the following error: "No such property: 'create'".

    Sencha command seems to be installed correctly. Listing "sencha" at the command prompt does not show any property "create" either. I assume the docs are not up-to-date.

    Sencha Cmd 3.0.0.230
    Windows 7 x64

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Vote Rating
    817
    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


    That is for the old Sencha Command. The new command for Sencha Cmd is:

    sencha generate app MyAppName /path/to/MyAppName
    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
    Jul 2012
    Posts
    148
    Vote Rating
    10
    pentool will become famous soon enough

      0  

    Default


    In which case the old sencha command is listed in the new doc.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    arnoldc is on a distinguished road

      0  

    Default


    The doc needs to be updated. Bad experience for first timer.

    Touch 2.1 Docs>Writing Applications>Using Sencha Cmd for Sencha Touch>Creating a New Application.

  5. #5
    Sencha Premium Member
    Join Date
    Nov 2010
    Location
    Pamplona - Spain
    Posts
    21
    Vote Rating
    0
    fmrc is on a distinguished road

      0  

    Default Please update documentation

    Please update documentation


    Absolutely agree. It's cumbersome having to look for the right code months after the upgrade took place.

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Posts
    1
    Vote Rating
    0
    jkristia is on a distinguished road

      0  

    Default


    I agree, please update the documentation.

    I am completely new to Sencha, never looked at it until today, and it has been a frustrating day. What is the point in having a 'getting started with Ext jS4' if you cannot follow the example step by step.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Posts
    12
    Vote Rating
    0
    fariazz is on a distinguished road

      0  

    Default Doc needs to be updated

    Doc needs to be updated


    The getting started guide has the old command: http://www.sencha.com/learn/getting-...encha-touch-2/

  8. #8
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    240
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default Note: Case insensitivity

    Note: Case insensitivity


    This command sencha generate app MyApp ../../MyApp
    Will overwrite ../../myapp directory ....is this a bug?

  9. #9
    Sencha User riyaad's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town
    Posts
    240
    Vote Rating
    1
    riyaad is on a distinguished road

      0  

    Default


    Agreed regarding updating docs

  10. #10
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Vote Rating
    817
    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


    Quote Originally Posted by riyaad View Post
    This command sencha generate app MyApp ../../MyApp
    Will overwrite ../../myapp directory ....is this a bug?
    No, its up to your OS whether it allows directories with case-sensitive or not
    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.