material-components / material-components-web-codelabs

Codelabs for Material Components for Web (MDC Web)
MIT License
130 stars 101 forks source link

MDC-102 cant use dependencies with current version ^13.0.0 for "@material/drawer": "^6.0.0", "@material/image-list": "^13.0.0" #318

Open Fadelbayabi opened 2 years ago

Fadelbayabi commented 2 years ago

Issue caused by: "@material/drawer": "^130.0", "@material/image-list": "^13.0.0"

To work: downgraded to "@material/drawer": "^6.0.0", "@material/image-list": "^6.0.0",

ERROR in ./home.scss
Module build failed: 
@use '@material/theme/theme-color';
^
      Can't find stylesheet to import.
   ╷
22 │ @use '@material/theme/theme-color';
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
  node_modules\@material\list\_variables.scss 22:1           @forward
  node_modules\@material\drawer\mdc-drawer.import.scss 13:1  @import
  stdin 2:9                                                  root stylesheet
      in C:\Users\albayabif\projects\material-components-web-codelabs-master\mdc\mdc-102\starter\node_modules\@material\list\_variables.scss (line 22, column 1)
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss