material-components / material-components-web-codelabs

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

[codelab] Sloppy Maintenance/Testing #282

Open GaryBozek opened 3 years ago

GaryBozek commented 3 years ago

mdc-102 - Add a navigation drawer

Refresh the page at http://localhost:8080/home.html. Your home page should now look like this:

it fails to compile in Step 3; missing:

      [25] ./home.scss 584 bytes {0} [built] [failed] [1 error]
        + 11 hidden modules

  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 /home/ws07/elm/course-mdc/material-components-web-codelabs/mdc-101/starter/node_modules/@material/list/_variables.scss (line 22, column 1)
     @ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss

https://github.com/material-components/material-components-web/blame/master/packages/mdc-list/_variables.scss, Line 22: @use '@material/theme/theme-color'; has been in place for 10 months.

Instructions need to be update to include this package.