Results 1 to 4 of 4

Thread: App Build Unknown Definition Problem

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    102

    Default App Build Unknown Definition Problem

    I am converting a version 4 application to version 6 and I am using cmd version 6.0.2.14. To fix a "reference to an undeclared variable" problem with sencha app build, I have already added

    Code:
    $font-icon-font-family: dynamic(FontAwesome);
    $button-medium-border-radius: dynamic(0);
    to the sass/etc/all.scss file based on a recent forum entry.

    I am now getting

    Code:
    [ERR] unknown definition for mixin named font-icon : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/core/sass/src/list/TreeItem.scss:215
    [ERR] unknown definition for mixin named font-icon : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/core/sass/src/list/TreeItem.scss:219
    [ERR] unknown definition for mixin named font-icon : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/core/sass/src/list/TreeItem.scss:319
    [ERR] unknown definition for mixin named font-icon : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/core/sass/src/list/TreeItem.scss:324
    [ERR] unknown definition for mixin named border-radius : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:34
    [ERR] unknown definition for mixin named box-shadow : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:39
    [ERR] unknown definition for mixin named box-shadow : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:41
    [WRN] Reference to undeclared variable $font-size => C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:51
    [WRN] Reference to undeclared variable $font-family => C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:52
    [WRN] Reference to undeclared variable $font-size => C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:53
    [WRN] Reference to undeclared variable $font-weight => C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:54
    [ERR] unknown definition for mixin named opacity : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:62
    [ERR] unknown definition for mixin named border-radius : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:70
    [ERR] unknown definition for mixin named box-shadow : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:72
    [ERR] unknown definition for mixin named display-box : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:131
    [ERR] unknown definition for mixin named box-orient : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:140
    [ERR] unknown definition for mixin named box-orient : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:152
    [ERR] unknown definition for mixin named box-orient : C:\TaSCWBDev.6\TaSCWB\Scripts/ext/packages/charts/sass/src/chart/AbstractChart.scss:162
    [WRN] Sass compilation encountered 4 warning(s)
    [INF] Build error for ..\..\build\temp\production\TaSCWB\slicer-temp\TaSCWB-example.scss
    [ERR] Error: Sass compilation encountered 14 error(s)
    I am using the standard Netpune theme but I eventually want to use my own theme based on the Neptune theme. What do I need to do to get fix these errors?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    If this is still an issue, can you please post your app.json?

  3. #3
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    102

    Default

    Thanks for your response.

    By switching to cmd version 6.1.1.76 and several other minor changes, this is no longer a problem..

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Glad to hear it! Thanks for the update.

Similar Threads

  1. Build failed: Unknown definition for dependency: Object
    By fordprefect in forum Sencha Cmd
    Replies: 13
    Last Post: 14 Oct 2015, 11:37 AM
  2. Replies: 1
    Last Post: 14 Sep 2015, 3:50 PM
  3. Unknown definition for dependency
    By sananda.dasgupta in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 20 Jul 2015, 7:00 PM
  4. Replies: 0
    Last Post: 14 Oct 2014, 11:21 PM
  5. Replies: 1
    Last Post: 5 Apr 2013, 6:13 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
  •