Seeking assistance in resolving the errors provided below.
I am currently in the process of upgrading my angular project from version 8 to 12. Initially, I attempted to upgrade progressively from version to version, starting with "7 to 8, 8 to 9". However, upon reaching version 9, I encountered numerous errors and incompatible dependencies. Despite spending a significant amount of time troubleshooting, I was unable to resolve these issues. Eventually, I decided to leapfrog to the latest version, but now I am faced with the following errors.
ERROR in Failed to compile entry-point @ng-bootstrap/ng-bootstrap (`es2015` as esm2015) due to compilation errors:
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7538:37 - error NG1006: Cannot combine @Input decorators with query decorators
7538 starTemplate: [{ type: Input }, { type: ContentChild, args: [TemplateRef,] }],
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7559:47 - error NG6001: The class 'NgbRating' is listed in the declarations of the NgModule 'NgbRatingModule', but is not a directive, a component, or
7559 { type: NgModule, args: [{ declarations: [NgbRating], exports: [NgbRating], imports: [CommonModule] },] }
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7332:7
7332 class NgbRating {
'NgbRating' is declared here.
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7332:7 - error NG6003: Appears in the NgModule.exports of NgbRatingModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
Is it missing an Angular annotation?
7332 class NgbRating {
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7548:7 - error NG6002: Appears in the NgModule.imports of NgbModule, but itself has errors
7548 class NgbRatingModule {
node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js:7548:7 - error NG6003: Appears in the NgModule.exports of NgbModule, but itself has errors
7548 class NgbRatingModule {
This is the information displayed when entering "ng --version
".
Angular CLI: 12.2.1
Node: 14.17.0
Package Manager: npm 7.20.5
OS: win32 x64
Angular: 13.0.0-next.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.901.15
@angular-devkit/build-angular 0.901.15
@angular-devkit/core 9.1.15
@angular-devkit/schematics 12.2.1
@angular/cdk 12.2.1
@angular/cli 12.2.1
@schematics/angular 12.2.1
rxjs 6.6.7
typescript 4.3.5