Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[codelab] Webpack Failed to Compile step on mdc-102 #346

Open
dukarc opened this issue Jan 13, 2022 · 0 comments
Open

[codelab] Webpack Failed to Compile step on mdc-102 #346

dukarc opened this issue Jan 13, 2022 · 0 comments

Comments

@dukarc
Copy link

dukarc commented Jan 13, 2022

After running

yarn add @material/drawer @material/list

Webpack errors out

    ERROR in ./login.scss
    Module build failed: 
    @use '@material/theme/gss';
    ^
          Can't find stylesheet to import.
       ╷
    29 │ @use '@material/theme/gss';
       │ ^^^^^^^^^^^^^^^^^^^^^^^^^^
       ╵
      node_modules/@material/rtl/_rtl.scss 29:1                        @forward
      node_modules/@material/rtl/_variables.scss 24:1                  @forward
      node_modules/@material/textfield/mdc-text-field.import.scss 3:1  @import
      stdin 2:9                                                        root stylesheet
          in /Users/cyrusdukart/Documents/code/material-components-web-codelabs/mdc-102/starter/node_modules/@material/rtl/_rtl.scss (line 29, column 1)
     @ multi (webpack)-dev-server/client?http://localhost:8080 ./login.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant