ngx-datatable
ngx-datatable copied to clipboard
Uncaught Error: Type NgxDatatableModule does not have 'ɵmod' property.
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
Removing node_modules
and doing a fresh install where ngcc run during ng build
always shows Uncaught Error: Type NgxDatatableModule does not have 'ɵmod' property.
in the browser logs.
Expected behavior
Be compiled correctly.
Reproduction of the problem
https://github.com/muuvmuuv/issue-ngx-datatable
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- Table version:
- Angular version:
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
With Angular 13 this pops up randomly during starting with serve so I need to start serve multiple times until it gets away.
I am also getting this error any solutions?
I managed to solve this by adding "postinstall": "ngcc",
to scripts in package.json.