Hi everyone,
I got errors on "ng build" regarding a function in the all.scss after upgrading the upgrading kendo-theme-default to 6.1.0.
the error is:
./src/styles.scss - Error: Module Error (from ./node_modules/postcss-loader/dist/cjs.js): C:\Perforce\Noorollah.Malek_LINW-DMALEK_QA_Reporting_Dashboards_Dev_856\QAReportingDashboard\QAReportingDashboard\ClientApp\src\styles.scss:26468:3: Can't resolve 'null' in 'C:\Perforce\Noorollah.Malek_LINW-DMALEK_QA_Reporting_Dashboards_Dev_856\QAReportingDashboard\QAReportingDashboard\ClientApp\src'
and is related to @progress/kendo-theme-default/dist/all.scss.
I figured out this is because of below function in the all.scss file which followed by ToDo comment since when I remove it the build goes successfully.
// TODO: Remove this function or rethink the logic
@function k-true-mix( $color1, $color2, $weight: 50% ) {
@return k-color-mix( rgba( $color1, 1 ), rgba( $color2, 1 ), $weight );
}
if you remove this, still needs to make some other changes in other parts of the file.
Is there any other solution for that or is it fixed currently?
Thanks