Results 1 to 3 of 3

Thread: build error

  1. #1
    Sencha User
    Join Date
    Jun 2018
    Posts
    25

    Default build error

    Hello. try to build classic and modern parts of application.

    PHP Code:
    sencha  app build classic production 
    sencha  app build modern production 
    sencha  app build classic testing
    sencha  app build modern testing
    sencha  app build classic development
    sencha  app build modern development 
    no errors

    but
    PHP Code:
    sencha  app build modern cordova-native 
    unknown definition for mixin named box-shadow : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/etc/recipes/color.scss:10:
    unknown definition for mixin named text-shadow : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/etc/recipes/color.scss:18
    unknown definition for mixin named font-icon : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/src/list/TreeItem.scss:230
    unknown definition for mixin named font-icon : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/src/list/TreeItem.scss:234
    unknown definition for mixin named font-icon : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/src/list/TreeItem.scss:334
    unknown definition for mixin named font-icon : C:/xampp/htdocs/test/admin-dashboard/ext/packages/core/sass/src/list/TreeItem.scss:339
    unknown definition for mixin named box-shadow : C:/xampp/htdocs/test/admin-dashboard/sass/src/view/main/Main.scss:2
    unknown definition for mixin named box-shadow : C:/xampp/htdocs/test/admin-dashboard/sass/src/view/main/Main.scss:31
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:2
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:10
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:16
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:24
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:32
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:40
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:48
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:56
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:64
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:73
    unknown definition for mixin named button-ui : C:/xampp/htdocs/test/admin-dashboard/modern/sass/src/view/main/Main.scss:81


    app.json

    PHP Code:
        "builds": {/*        // iOS Native Build profile example        "ios": {            "toolkit": "modern",            "theme": "theme-triton",            "packager": "cordova",            "cordova" : {                "config": {                    "platforms": "ios",                    "id": "com.foo.AdminDashboard",                    "name": "AdminDashboard"                }            }        },*/    "cordova-native": {            "toolkit""modern",            "packager""cordova",            "cordova": {                "config": {                    "platforms""android"// Для cordova указывать целевые платформы через пробел                    "id": "com.foo.AdminDashboard"                }            }        },        "phonegap-native": {            "toolkit": "modern",            "packager": "phonegap",            "phonegap" : {                "config": {                    "platform": "android",                    "remote": true, // Сборка в облаке                    "id": "com.foo.AdminDashboard"                }            }        },        "classic": {            "toolkit": "classic",            "theme": "theme-triton"  //        },
            
    "modern": {            "toolkit""modern",            "theme""theme-triton"        }    }, 
    where is a problem?

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,005

    Default

    Hi there Andrew- thank you for reaching out. I have sent this over to the support team and they are looking into it for you. We appreciate your patience while we work on this!

    Michele

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    568

    Default

    Hello Andrew,

    The correct command for building app is sencha app build {build-name}. I see you don't have modern cordova-native.
    Please follow this link - https://docs.sencha.com/cmd/guides/c..._phonegap.html

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. Replies: 3
    Last Post: 9 Jun 2017, 1:52 PM
  2. Production Build Error. (Testing build is work)
    By recordable in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 24 Feb 2017, 7:40 AM
  3. Android Native Build - Release build gives a jarsigner error
    By parky128 in forum Sencha Touch 2.x: Discussion
    Replies: 3
    Last Post: 5 Mar 2014, 1:32 AM
  4. PhoneGap.build error on 'sencha app build native'
    By Kurt001 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 5 Oct 2013, 11:40 AM
  5. Syntax error in production build, no error in testing build
    By antun in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 19 Nov 2012, 12:44 PM

Posting Permissions

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