You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you follow from MDC-101 to MDC-102 with the same project you get an error when trying to compile the project.
The issue is the different versions of npm packages that the tutorial tell you to install.
MDC-101 tells you to npm install @material/textfield@^6.0.0
but MDC-102 tells you to npm install @material/drawer @material/list.
The issue is that when installing the packages without specifying a version the installed version happens to be 14, not 6 and this causes the app to not compile.
I solve this by uninstalling the drawer and list packages and reinstalling them with @^6.0.0 at the end. I think this info should be added somewhere in the codelabs.
The text was updated successfully, but these errors were encountered:
If you follow from MDC-101 to MDC-102 with the same project you get an error when trying to compile the project.
The issue is the different versions of npm packages that the tutorial tell you to install. MDC-101 tells you to npm install @material/textfield@^6.0.0 but MDC-102 tells you to npm install @material/drawer @material/list.
The issue is that when installing the packages without specifying a version the installed version happens to be 14, not 6 and this causes the app to not compile.
I solve this by uninstalling the drawer and list packages and reinstalling them with @^6.0.0 at the end. I think this info should be added somewhere in the codelabs.
Thank you @mateus-dias-cwb for sharing your insight. It really helped me out.
If you follow from MDC-101 to MDC-102 with the same project you get an error when trying to compile the project.
The issue is the different versions of npm packages that the tutorial tell you to install.
MDC-101 tells you to
npm install @material/textfield@^6.0.0
but MDC-102 tells you to
npm install @material/drawer @material/list
.The issue is that when installing the packages without specifying a version the installed version happens to be 14, not 6 and this causes the app to not compile.
I solve this by uninstalling the drawer and list packages and reinstalling them with
@^6.0.0
at the end.I think this info should be added somewhere in the codelabs.
The text was updated successfully, but these errors were encountered: