Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

180
Views
Angular structure loaded both synchronously and asynchronously when adding primeng tableModule

I had the following error when loading TableModule from primeng into my components module file and trying to run 'npm run packagr':

Maximum call stack size exceeded

I found this solution, to change my primeng version primeng12 to primeng11.4.5. So I did that, but now I am getting the following error:

Angular structure loaded both synchronously and asynchronously

This is my components module file:

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HeaderComponent } from './header.component';
import { TableModule } from 'primeng/table';

@NgModule({
  declarations: [HeaderComponent],
  imports: [CommonModule, TableModule],
  exports: [HeaderComponent],
})
export class HeaderModule {} //RED LINE APPEARS HERE UNDER HEADERMODULE, BUT NOWHERE ELSE

Does anyone have any ideas how I can fix this?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Fixed this by changing prime ng version to 9.1.3 and installing angular cdk

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!