Components: The "mat-" prefix cannot be used in ng-material v1 compatibility mode

Created on 13 Oct 2017  路  6Comments  路  Source: angular/components

I already updated @angular/material and @angular/cdk to v beta.12 but I got this error
ERROR Error: The "mat-" prefix cannot be used in ng-material v1 compatibility mode. It was used on an "mat-list" element.

What's wrong ??

Most helpful comment

All 6 comments

If you are on beta.12 and have already made the conversion to mat-, then you should be able to remove {provide: MATERIAL_COMPATIBILITY_MODE, useValue: true},

I don't use MATERIAL_COMPATIBILITY_MODE in my code

Please refer all troubleshooting questions to StackOverflow, Gitter, or Google Groups.

I'm currently using md2, that's the source of the problem,
thanks

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LoganDupont picture LoganDupont  路  3Comments

vanor89 picture vanor89  路  3Comments

crutchcorn picture crutchcorn  路  3Comments

michaelb-01 picture michaelb-01  路  3Comments

jelbourn picture jelbourn  路  3Comments