0

I have a problem in my .scss files after migration of Angular & Angular Material from 11 to 12 version

enter image description here

Code block that causes such error is next:

enter image description here

What can I do to fix it?

  • 2
    Does this answer your question? [SassError: Can't find stylesheet to import. @use '~@angular/material' as mat;](https://stackoverflow.com/questions/67652012/sasserror-cant-find-stylesheet-to-import-use-angular-material-as-mat) – Roy Dec 27 '21 at 08:28
  • I saw this answer and tried to remove `~` sign from imports and it doesn't help – Dmytro Khilchuk Dec 27 '21 at 11:28

1 Answers1

0

node-sass is deprecated

To solve the problem I ran: npm uninstall node-sass and next npm i sass --save-dev. Solved