Results 1 to 4 of 4

Thread: Sencha Cmd 6 package build issue

  1. #1
    Sencha User
    Join Date
    Oct 2015
    Posts
    3

    Default Sencha Cmd 6 package build issue

    I have created a custom theme using the below sencha cmd.

    sencha -sdk [path-to-sdk] generate package -type=theme [xyz]

    I built the package using the below command:

    sencha -sdk [path-to-sdk] package build --theme [xyz]

    Getting error while build the package as below.

    error.png

    Please let me know if you have any solution for this. Thanks in advance.

    Note: I didnt create app/workspace using sencha cmd.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    When you create a package that way it adds the package to path-to-sdk/packages/local/your-theme-name. You can navigate to that folder and run sencha package build and it should work.
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Oct 2015
    Posts
    3

    Default

    Thanks for your valuable reply But there is no folder 'local' in path-to-sdk/packages. Already i said, i didnt create app/workspace using sencha cmd. Thats the reason 'local' folder not exists it seems I guess. I dont know what to do

  4. #4
    Sencha User
    Join Date
    Aug 2015
    Location
    Vijayawada
    Posts
    47
    Answers
    2

    Default

    Hello,

    Please follow these steps:

    1. Download the SDK and rename it as ext.
    2.Run below specified cmd

    sencha -sdk [path to sdk] generate theme xyz;
    (if you create theme correctly it should created in path_to_sdk/packages/local/xyz)

    you create a package in this way it added the theme to path_to_sdk/packages/local/xyz.
    "cd path_to_sdk/packages/local/xyz"
    then run "sencha package build " .It should work

    Thanks,

Similar Threads

  1. Replies: 0
    Last Post: 15 May 2013, 8:44 PM
  2. sencha app build native vs sencha package build packager.json
    By kramprabhu in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 15 May 2013, 12:41 AM
  3. Replies: 11
    Last Post: 29 Oct 2012, 6:16 AM
  4. Replies: 3
    Last Post: 18 Oct 2012, 11:52 PM
  5. Replies: 1
    Last Post: 12 Jul 2012, 6:52 AM

Tags for this Thread

Posting Permissions

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