Material theme version 6 - not building

1 Answer 93 Views
Styling
Noah
Top achievements
Rank 2
Iron
Iron
Iron
Noah asked on 16 Jan 2023, 03:27 PM

./src/styles.scss - Error: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: Index out of range
    ╷
820 │     @return function-exists( $name );
    │             ^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
  @progress\kendo-theme-material\dist\all.scss 820:13   k-meta-function-exists()
  @progress\kendo-theme-material\dist\all.scss 6489:19  generate-utils()
  @progress\kendo-theme-material\dist\all.scss 6577:1   @import
  src\styles.scss 9:9                                   root stylesheet

 

I get the above output when I upgraded to version 6 of the material theme.  It builds successfully with version 5.x.x

 

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 17 Jan 2023, 09:02 AM

Hi Noah,

Currently, all of our component's latest versions support Kendo Theme 5.12.0 or to be sure we do also provide a changelog that documents the supported Kendo Theme version:

https://www.telerik.com/kendo-angular-ui/components/grid/changelog/

This means that the developer would need to revert the Kendo Theme from 6.0.0 back to 5.12.0 until it is officially supported by Kendo UI for Angular. In R1 18th of January we are moving to a global changelog where this can be tracked and our team is hopeful that the latest Kendo Theme is supported but might take some time as there are many rendering changes. There also will be a Rendering Changes article for developers to read and modify their custom CSS or logic to reflect the changes. This section is currently in our develop website stage here:

https://www.telerik.com/kendo-angular-ui-develop/components/rendering-changes/11-0-0/

I hope this information was helpful.

Regards,
Yanmario
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Noah
Top achievements
Rank 2
Iron
Iron
Iron
commented on 18 Jan 2023, 02:46 PM | edited

I get the same issue with version 11.0.0 of the components and version 6.0.3 of the theme

 

Yanmario
Telerik team
commented on 23 Jan 2023, 08:56 AM

Hi Noah,

I've created a new application with our latest version of the Grid and Kendo Material theme and everything runs without an error on my side. Please check the attached project. In such a case, what I can recommend is deleting the node_modules folder and package-lock.json and reinstalling all the dependencies using `npm install`.

If that doesn't help, could you provide me with a runnable project where the error can be observed and troubleshooter? Thank you in advance for your cooperation.

Regards,
Yanmario
Progress Telerik     

Tags
Styling
Asked by
Noah
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Yanmario
Telerik team
Share this question
or