Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

[codelab] MDC-102 Web conflict with npm package versions #386

@mateus-dias-cwb

Description

@mateus-dias-cwb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unresolved (Archived)Open and unresolved issues and PRs that were closed due to archiving the repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions