Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

angular material installed, it doesn't build #18

Closed
CleverMobile2811 opened this issue Aug 22, 2021 · 3 comments
Closed

angular material installed, it doesn't build #18

CleverMobile2811 opened this issue Aug 22, 2021 · 3 comments
Labels
invalid This doesn't seem right

Comments

@CleverMobile2811
Copy link

Error: node_modules/@angular/material/button/button.d.ts:21:22 - error TS2420: Class 'MatButton' incorrectly implements interface 'CanColor'.
Type 'MatButton' is missing the following properties from type 'CanColor': color, defaultColor

@hakimio
Copy link
Owner

hakimio commented Aug 22, 2021

The error is coming from Angular Material library, not ngx-ui-tour. If you can create a simple reproduction, maybe you should report it to Angular Material project.

@hakimio
Copy link
Owner

hakimio commented Aug 22, 2021

The problem seems to be that you are using an old version of TypeScript.

EDIT: also it's a good idea to make sure all other Angular packages are updated as well.
Other similar Angular components issues.

@hakimio hakimio closed this as completed Aug 22, 2021
@hakimio hakimio added the invalid This doesn't seem right label Aug 22, 2021
@CleverMobile2811
Copy link
Author

Type script version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants