-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Material 2 doesn't seem to be compatible with Angular 2 RC 6 #1156
Comments
@naveedahmed1 see #1153 |
@m0t0r I upgraded to 2.0.0-alpha.7-12 but now I am receiving below error:
|
@naveedahmed1 I think you need to wait for alpha.8. portal-directives.ts on master doesn't use deprecated |
I was actually able to compile and run the project after I upgraded Material 2.0.0-alpha.7-12 and upgraded TypeScript to version 2.0.2 Beta |
Using the latest release should resolve this issue, so closing :) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I recently tried upgrading my project to Angular 2 RC 6 but it seems that Material 2 isn't compatible with RC 6.
When I try to compile my project with RC 6, I receive the below error:
Error Build:Module '"node_modules/@angular/core/index"' has no exported member 'ComponentResolver'. node_modules\@angular2-material\core\portal\portal-directives.d.ts
As per the change log (https://github.com/angular/angular/blob/master/CHANGELOG.md)
ComponentResolver has been depreciated. But since the portal directives uses ComponentResolver , the compiler throws the error.
As per the link angular/angular@73a9ee4 we need to use ComponentFactoryResolver
The text was updated successfully, but these errors were encountered: