material-components / material-components-web-codelabs

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

[codelab] Compile issue with import of ripple/mixins in MDC-103 #309

Closed eris8x6 closed 2 years ago

eris8x6 commented 2 years ago

In MDC-103, the @import "@material/ripple/mixins" causes an error during the Webpack compile:

      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 C:\Users\Chris\Documents\SoftwareDev\LearningProjects\MaterialComponents\material-components-web-codelabs\mdc-103\starter\node_modules\@material\ripple\_mixins.import.scss (line 1, column 1)
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss
eris8x6 commented 2 years ago

Duplicate of 306, 293, 232. Solution in the 232.