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.
Angular 8 , DataTable disappeared
-
- Posts: 3
- Joined: 25 Jun 2019, 17:19
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'
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.
https://www.primefaces.org/primeng/#/table
...not a huge refactoring, both tables works same way, more or less.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests