Upgrading an existing project from Angular 5 to Angular 14

152 Views Asked by At

There were some enhancements needed to be done from an old project but my Angular is angular 14 and the project is in Angular 5. I cannot load the project because of the version compatibility issues. I have tried simply everything including deleting the node modules and installing it one by one, npm update, ng serve.

The main errors are <button class="reset float-left" [routerLink]="['/patient']">BackCan't bind to 'routerLink' since it isn't a known property of 'button'.ngtsc(-998002) blood-sugar-monitoring.component.ts(27, 1): Error occurs in the template of component BloodSugarMonitoringComponent. and

(property) BloodSugarMonitoringComponent.bloodsugarGroup: FormGroup Can't bind to 'formGroup' since it isn't a known property of 'form'.ngtsc(-998002) blood-sugar-monitoring.component.ts(27, 1): Error occurs in the template of component BloodSugarMonitoringComponent. I have done everything including importing the Form and ReactiveFormModule
0

There are 0 best solutions below