material-components / material-components-web-codelabs

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

[codelab] 102 Step 3 installing higher version of drawer and list causing compilation failure #207

Open Yifei-G opened 3 years ago

Yifei-G commented 3 years ago

In the tutorial we have the following:

npm install @material/drawer @material/list

This will install the version 8.0.0 of both component which will cause the build failure.

Both component should be installed in version 6.0.0.0:

npm install @material/drawer@^6.0.0
npm install @material/list@^6.0.0
slackbeard commented 3 years ago

I ran into the same problem, looks like someone else already opened an issue: https://github.com/material-components/material-components-web-codelabs/issues/205