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] MDC-103 compilation error with @import "@material/ripple/mixins" #384

Open
royaleweiss opened this issue Mar 22, 2022 · 0 comments

Comments

@royaleweiss
Copy link

I could not compile after adding the import in the beginning of step 3.:

ERROR in ./home.scss
Module build failed:
@forward "@material/animation" as mdc-animation-;
^
Can't find stylesheet to import.

1 │ @forward "@material/animation" as mdc-animation-
;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

node_modules/@material/ripple/_mixins.import.scss 1:1 @import
stdin 5:9 root stylesheet
in /Users/snrob/AppDev/material-components-web-codelabs-master/mdc-103/starter/node_modules/@material/ripple/_mixins.import.scss (line 1, column 1)
@ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss

I found a workaround here: #139
arief135 commented on Jul 23, 2020
I solved it by changing @import "@material/ripple/mixins"; to @import "@material/ripple/mdc-ripple";

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