Can't find stylesheet to import. Angular 17

Discussão em 'Angular' iniciado por Keven A. Santos, Abril 15, 2025.

  1. i'm trying to import angular material theming in the styles.scss file, But when i run ng serve, it throws the "Can't find stylesheet to import." Error.

    Below is my import

    @import '@angular/material/theming';


    enter image description here I'm currently using Angular cli 17.

    I've tried importing using the @use, but the error was the same. And i tried to change the path of the import to the node_module/@angular/material/theming.

    Continue reading...

Compartilhe esta Página