Angular 8 , DataTable disappeared

UI Components for Angular
Post Reply
varolo
Posts: 9
Joined: 02 Dec 2016, 12:38

10 Jun 2019, 16:00

Hi, updating from angular 7 to angular 8 the DataTable stop working and when I try to serve my application, the error message is:

error TS2724: Module '"../../../../../node_modules/primeng/primeng"' has no exported member 'DataTableModule'. Did you mean 'TreeTableModule'?


Any idea?
Thanks.

BartyLA
Posts: 1
Joined: 25 Jun 2019, 13:29

25 Jun 2019, 13:31

Can anyone answer this? I need support for older data tables as well, I have a lot of them and re writing everything is a one week job...

azulBonnet
Posts: 3
Joined: 25 Jun 2019, 17:19

25 Jun 2019, 17:21

Where you able to find a solution to this? I'm having the same problem.

Code: Select all

ERROR in src/app/app.module.ts(77,5): error TS2724: Module '"C:/dev/Embr/EMBR/node_modules/primeng/primeng"' has no exported member 'DataTableModule'. Did you mean 'TreeTableModule'?

ERROR in ./node_modules/primeng/components/chart/chart.js
Module not found: Error: Can't resolve 'chart.js' in 'C:\dev\Embr\EMBR\node_modules\primeng\components\chart'

varolo
Posts: 9
Joined: 02 Dec 2016, 12:38

27 Jun 2019, 08:39

To solve the problem "quickly" I decided to move to the table documented on PrimeNG website:
https://www.primefaces.org/primeng/#/table
...not a huge refactoring, both tables works same way, more or less.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests