material-components / material-components-web-codelabs

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

[codelab]mdc 103 failing to build (even complete) #155

Open PaulDeen opened 4 years ago

PaulDeen commented 4 years ago

Running npm install, npm start produces an error when following the tutorial.

I also ran it against the 'complete' version and the error is there too.


    ^
          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 E:\material\material-components-web-codelabs-master\mdc-103\complete\node_modules\@material\ripple\_mixins.import.scss (line 1, column 1)
     @ multi (webpack)-dev-server/client?http://localhost:8080 ./home.scss
Yifei-G commented 3 years ago

Hey,

I got the same problem, but I have fixed the issue by following this sugguestion on issue #139