Es gab ein paar Modifikationen mit dem Angular-Material. Jetzt werden die Datumsauswahl und andere Funktionen hinzugefügt. Wie man das Projekt aktualisiert, um die neueste Version von eckig zu haben. Ich habe versucht, zu aktualisieren, aber ich habe diese FehlerUpdate Angular auf den neuesten
Class 'MdOptgroup' incorrectly implements interface 'Can
Disable'.
Property 'disabled' is missing in type 'MdOptgroup'.
node_modules/@angular/core/index"' has no exported member 'Renderer2'.
Class 'MdTab' incorrectly implements interface 'CanDisable'.Property 'disabled' is missing in type 'MdTab'.
Type '(new (...args: any[]) => CanDisable) & typeofMdTabLabelWrapperBase' is not a constructor function type.
Class 'MdToolbar' incorrectly implements interface 'CanColor'.
Property 'color' is missing in type 'MdToolbar'.
ERROR in Error encountered resolving symbol values statically. Calling function 'InjectionToken', function calls are not supported. Consider replacing the function or lambda with a refe
rence to an exported function, resolving symbol MATERIAL_SANITY_CHECKS in /node_modules/@angular/material/typings/index.d.ts, resolving symbol MdCommonModule in node_modules/@angular/material/typings/index.d.ts, resolving symbol MdCommonModule in /node_modules/@angular/material/typings/index.d.ts
webpack: Failed to compile.
Wie dieses Problem zu lösen?
Lesen Sie den Migrationsleitfaden und sehen Sie, welcher Code von Ihnen unter bestimmten, brechenden API-Änderungen gelitten hat? – Makoto
Ich habe nach Migrationsführer gesucht (ich meine für die letzten Änderungen Ende Mai oder Anfang Juni), aber ich habe keine gefunden. – edkeveked
Ich habe mehr Fehler hinzugefügt. Also meine Vermutung ist, dass die meisten Fehler wegen @ angular/materiellem Modul sind – edkeveked