title: Failed to compile entry-point @ng-bootstrap/ng-bootstrap (`es2015` as esm2015) due to compilation errors
body: <p>Can someone help me to solve these below-given errors?</p>
  <p>I am upgrading my angular project from version 8 to 12. first, I was upgrading version by version &quot;7 to 8, 8 to 9&quot; but at version 9 I was getting so many errors, lots of incompatible dependence. I spent a lot of time on that did not work. so I tried to upgrade to the latest version. Now I am just getting these errors.</p>
  <pre><code>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 {
  </code></pre>
  <p>This is what I have when I hit &quot;<code>ng --version</code>&quot;.</p>
  <pre><code>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  
  
  </code></pre>