material-components / material-components-web-codelabs

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

[codelab] <Drawer doesn't work> #159

Open REDLION117 opened 4 years ago

REDLION117 commented 4 years ago

The "drawer" does not work I executed "start" with "npm" but an error appeared I have no idea how to solve it. the "drawer" doesn't look the way it should and I'm just learning.

ERROR in ./home.scss Module build failed: undefined ^ No argument named $component-height. ┌──> node_modules\@material\list\_mixins.scss 536│ ┌ @include shape-mixins.radius( 537│ │ $radius, 538│ │ $rtl-reflexive, 539│ │ $component-height: $height, 540│ │ $query: $query 541│ │ ); │ └─────^ invocation ╵ ┌──> node_modules\@material\shape\_mixins.scss 30 │ @mixin radius($radius, $rtl-reflexive: false, $query: feature-targeting-functions.all()) { │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ declaration ╵ node_modules\@material\list\_mixins.scss 536:5 radius() node_modules\@material\list\_mixins.scss 536:5 single-line-shape-radius() node_modules\@material\drawer\_mixins.scss 304:3 item-shape-radius() node_modules\@material\drawer\_mixins.scss 71:5 core-styles() node_modules\@material\drawer\common.scss 24:1 @use node_modules\@material\drawer\mdc-drawer.scss 23:1 @forward node_modules\@material\drawer\mdc-drawer.import.scss 37:1 @import stdin 2:9 root stylesheet in C:\Users\Orozc\material-components-web-codelabs\mdc-101\starter\node_modules\@material\list\_mixins.scss (line 536, column 5) @ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss

REDLION117 commented 4 years ago

i just type npm install @material/drawer@^6.0.0 @material/list@^6.0.0