ngx-datatable icon indicating copy to clipboard operation
ngx-datatable copied to clipboard

Uncaught Error: Type NgxDatatableModule does not have 'ɵmod' property.

Open muuvmuuv opened this issue 3 years ago • 3 comments

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]

muuvmuuv avatar Nov 29 '21 07:11 muuvmuuv

With Angular 13 this pops up randomly during starting with serve so I need to start serve multiple times until it gets away.

muuvmuuv avatar Jan 17 '22 09:01 muuvmuuv

I am also getting this error any solutions?

hexdecimal16 avatar Apr 22 '22 13:04 hexdecimal16

I managed to solve this by adding "postinstall": "ngcc", to scripts in package.json.

offirpeer avatar Jul 31 '22 07:07 offirpeer