AoT build failed Error: Metadata version mismatch for module ~/node_modules/@swimlane/ngx-datatable/release/datatable.module.d.ts, found version 4, expected 3
I'm submitting a BUG (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
Error: Metadata version mismatch for module ~/node_modules/@swimlane/ngx-datatable/release/datatable.module.d.ts, found version 4, expected 3
after upgrade 11.0.0
Expected behavior
Reproduction of the problem
What is the motivation / use case for changing the behavior?
npm build to AoT
Please tell us about your environment:
macOS 12.13.1 npm
Version 11.0.0 is only for Angular 5. If you are using older angular version please downgrade your ngx-datatable to 10.x
@nitinht1988 I'm having the same issue with version 10.5.0 and Angular 4.4.6.
EDIT: It shows the error, but works though.
Having same issue but failed to compile
version: 10.0.0
node : v6.10.0
npm : v3.10.10
The same issue: ERROR in Metadata version mismatch for module .../node_modules/@swimlane/ngx-datatable/release/index.d.ts, found version 4, expected 3,
version: 10.0.5
Angular: 4.3.5
cli: 1.3.0
node: v7.7.3
npm: 4.1.2
I have the same problem and i've not yet solved it. I cant continue my job cause of this problem....waiting for help.
ERROR in Metadata version mismatch for module
node_modules/@swimlane/ngx-datatable/release/index.d.ts, found version 4, expected 3
Datatable version: 10.5.0
Angular: 4.4.6
Cli: 1.3.2
Node: 8.9.0
Npm: 5.3.0
Just to give a few more information:
serve, test and buildbuild returns an error.Hello,
same error with the version 10.5.0 and Angular 4.4.6....
If i downgrade with the version 9.3.1 it works....
Thanks
Hello,
The same error just downgraded the Datatable version to 10.4.0 and it works :)
Thanks
For me only the 9.3.0 works
Envoyé par TypeApp
Le 7 nov. 2017 à 18:16, à 18:16, ramauidev notifications@github.com a écrit:
Hello,
The same error just downgraded the Datatable version to 10.4.0 and it
works :)Thanks
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/swimlane/ngx-datatable/issues/1105#issuecomment-342554960
for me I have this error :
ERROR in Error: Metadata version mismatch for module /node_modules/@swimlane/ngx-datatable/release/index.d.ts, found version 4, expected 3, resolving symbol HomeModule in /src/app/+home/home.module.ts, resolving symbol HomeModule in /src/app/+home/home.module.ts
in 9.3.0 not do this ....
Thanks
Can someone make a demo project showing this?
Hello everyone, same Error
I fixed it updating to "@swimlane/ngx-datatable": "^10.4.0"
In dependenies all @angular 4.4.6
In devDependencies:
angular/cli: "^1.5.0",
angular/compiler-cli: "^4.4.6",
angular/language-service: "^4.4.6"
I hope this helps somebody
Looks like Material is having this issue too - https://github.com/angular/material2/issues/8229#issuecomment-342502556
Same error here. I updated ngx datatable to version 11 and all angular dependencies to angular 5. I received some errors.. after the downgrade i received this new error. Please help.
Same error here. but fixed with "@swimlane/ngx-datatable": "10.4.0"
I removed "^" before 10.4.0
I can confirm the issue, using Angular 4. And I can also confirm that the solution posted by @knehez works.
So my guess is that there is something wrong with version 10.5.0.
Is this still an issue in 11.0.4??
Hi,
angular/core: "5.0.2" and "@swimlane/ngx-datatable": "11.1.2", still gives
ERROR in Metadata version mismatch for module .../node_modules/@swimlane/ngx-datatable/release/index.d.ts, found version 4, expected 3,
@amcdnl it was still an issue
i was having the same problem
@swimlane/[email protected]
@angular @4.4.6
Same error here. but fixed with "@swimlane/ngx-datatable": "10.4.0"
I removed "^" before 10.4.0
Thanks @knehez. It's working for us.
Please reopen if this is still an issue.
Most helpful comment
Same error here. but fixed with "@swimlane/ngx-datatable": "10.4.0"
I removed "^" before 10.4.0