Results 1 to 2 of 2

Thread: ExtJS 6.2 build errors when compiling SASS

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2015
    Location
    Boston
    Posts
    9

    Default ExtJS 6.2 build errors when compiling SASS

    I upgraded to Sencha Cmd v6.2.0.103 and ExtJS 6.2.0.981 this morning and now my builds are failing with SASS compilation errors that were not present before.


    Code:
    [WRN] @theme-background-image: Theme image not found: images/menu/default-menubar-group-checked.png[LOG] Build error for C:/path/to/my/app/build/temp/development/Console/sass/Console-all
    .scss
    [ERR] Failed to find method for operation - on type list with value 1px 1px 1px 8px.
    [ERR] [email protected]://platform/fashion-phantomjs.js:5:10951
    It does not say where the exact error is originating, but I tracked down the only place in our custom theme where the text "1px 1px 1px 8px" occurs and this is what it was choking on:

    Code:
    @include extjs-tip-ui(
        $ui: 'alert-warning',
        $ui-border-color: $alert-warning-border-color,
        $ui-border-width: 1px 1px 1px 8px
    );
    I changed it to just "1px" and that error cleared, but I got another error instead:

    Code:
    [WRN] @theme-background-image: Theme image not found: images/menu/default-menubar-group-checked.png
    [LOG] Build error for C:/path/to/my/app/build/temp/development/Console/sass/Console-all
    .scss
    [ERR] #b6b7ba #b6b7ba #b6b7ba #fecb00 is not a color for 'darken'
    [ERR] [email protected]://platform/fashion-phantomjs.js:5:10951
    I haven't been able to track down what exactly is causing that.

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,250

    Default

    To clarify, I'm assuming that $alert-warning-border-color is also a colour list?

    From the API, those particular values are "non-list" values, even in 6.0.0 it lists the values as number/color respectively. Typically if something allows a list of values it will be explicitly specified, for example:

    Code:
    number/list
    color/list
    In this particular case I can see the mixin is trying to do some calculations where it's assuming a single value.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Errors when compiling SASS file.
    By vincaslt in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 31 Mar 2014, 4:48 AM
  2. Errors while compiling SASS
    By TampaBay55 in forum Ext: Discussion
    Replies: 2
    Last Post: 15 Mar 2013, 11:21 PM
  3. [FIXED] [4.1.0-rc1] Syntax errors when compiling SASS themes
    By mystix in forum Ext:Bugs
    Replies: 6
    Last Post: 20 Mar 2012, 8:16 AM
  4. [FIXED] [4.0.7] Syntax errors when compiling SASS themes
    By burnnat in forum Ext:Bugs
    Replies: 5
    Last Post: 28 Feb 2012, 5:29 AM

Posting Permissions

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