Hello,
I've updated the primeng to the latest version (5.2.0-rc.1) to use the new TableModule feature.
But i get the following error whem importing from app.module.ts file
ERROR in src/app/app.module.ts(26,39): error TS2305: Module '"C:/@web/tontinapp/node_modules/primeng/primeng"' has no exported member 'TableModule'.
What is going wrong with it. Even when cheking with node module i've found that the table module is here
Also you should not use primeng/primeng, try primeng/table.
import { TableModule } from 'primeng/table';
gets this error.. I tried with "primeng": "^5.2.0-rc.2" and 5.0.2 both same error.
ERROR in src/app/app.module.ts(16,29): error TS2307: Cannot find module 'primeng/table'.
Hello All,
I updated the latest version of primeng for Turbo table but I couldn't I got a compile-time error like 'has no exported member 'TableModule'.
I am having a similar problem but it's saying MouseEvent is not defined.
An unhandled exception occurred while processing the request.
NodeInvocationException: Prerendering failed because of error: ReferenceError: MouseEvent is not defined at ...\ClientApp\dist\main-server.js:48947:42
this only happens when I import the TableModule even if I do not use it.
I have the same Problem when using Angular Universal. I import the TableModule as follows:
import {TableModule} from 'primeng/table';
Compiling our Angular Universal app works. But if we try to run it, it says:
ReferenceError: MouseEvent is not defined
Please consider reopening the issue.
Most helpful comment
I have the same Problem when using Angular Universal. I import the TableModule as follows:
import {TableModule} from 'primeng/table';Compiling our Angular Universal app works. But if we try to run it, it says:
ReferenceError: MouseEvent is not definedPlease consider reopening the issue.