Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    1
    user2223091 is on a distinguished road

      0  

    Default Tried to generate app GS > "Failed to determine framework name"

    Tried to generate app GS > "Failed to determine framework name"


    Hello,

    I'm on Mac OS X Mountain Lion, I downloaded:
    - SenchaCmd-3.0.0.250-osx
    - SenchaSDKTools-2.0.0-beta3-osx
    - sencha-touch-2.1.0-gpl

    It's all installed in:
    Applications/Sencha/sencha-touch-2
    Applications/Sencha/SenchaCMD3
    Applications/Sencha/SenchaSDKTools

    When I try to generate my first app using
    Code:
    sencha generate app GS ../GS
    I've got the error:

    Failed to determine framework name. Please ensure this command was issued from either a framework or application directory

    But the command
    Code:
    sencha generate app
    seems to respond :

    Sencha Cmd v3.0.0.250 [ERR] sencha.generate.app requires these parameters: path (The path for the generated application)

    Do you have any idea where this error comes from?
    Thanks for your help,
    - Victor

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,033
    Vote Rating
    57
    dongryphon is a jewel in the rough dongryphon is a jewel in the rough dongryphon is a jewel in the rough

      0  

    Default


    You do not need SDK Tools ... I would remove them as Sencha Cmd replaces them.

    Sounds like you are not running the command from the framework folder. For getting started, see these guides:

    http://docs.sencha.com/ext-js/4-1/#!/guide/command
    http://docs.sencha.com/ext-js/4-1/#!/guide/command_app

    This particular issue is covered here:

    http://docs.sencha.com/ext-js/4-1/#!...mand-section-4
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    2
    Vote Rating
    1
    user2223091 is on a distinguished road

      1  

    Default


    It's work. Thanks for your message.

    What I've done:

    Code:
    cd /Applications/Sencha/sencha-touch-2
    And :

    Code:
    sencha generate app GS ../GS
    Have a good day

  4. #4
    Ext JS Premium Member bobg's Avatar
    Join Date
    Feb 2008
    Location
    Boston
    Posts
    22
    Vote Rating
    0
    bobg is on a distinguished road

      0  

    Default


    Had same issue.

    You don't need the Sencha-Touch-SDK as the Sencha-CMD replaces it.

    Delete the SDK and install CMD as per the documentation.

    For the 'sencha' command use the -sdk flag to tell it where ext-js or sencha-touch lives.

    Like this:

    sencha -sdk /Applications/Sencha/sencha-touch-2 generate app GS ../GS

    Hope this helps someone else.

  5. #5
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,033
    Vote Rating
    57
    dongryphon is a jewel in the rough dongryphon is a jewel in the rough dongryphon is a jewel in the rough

      0  

    Default


    To clarify the above comment - this "Touch SDK" piece should be "SDK Tools".

    You need Sencha Touch 2.1 (informally called "the SDK") and Sencha Cmd v3 to run the command posted.

    Quote Originally Posted by bobg View Post
    You don't need the Sencha-Touch-SDK Tools as the Sencha-CMD replaces it.
    Don Griffin
    Ext JS Development Team Lead

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"