question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR in Metadata version mismatch .../node_modules/ngx-chips/ngx-chips.d.ts, found version 4, expected 3

See original GitHub issue

I’m submitting a …

[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Current behavior Hi everyone! trying to implementing <tag-input></tag-input> but getting this error:

ERROR in Metadata version mismatch .../node_modules/ngx-chips/ngx-chips.d.ts, found version 4, expected 3

Minimal reproduction of the problem with instructions (if applicable) package.json:

{
  "dependencies": {
    "@angular/animations": "^4.2.4",
    "@angular/common": "^4.2.4",
    "@angular/compiler": "^4.2.4",
    "@angular/core": "^4.2.4",
    "@angular/forms": "^4.2.4",
    "@angular/http": "^4.2.4",
    "@angular/platform-browser": "^4.2.4",
    "@angular/platform-browser-dynamic": "^4.2.4",
    "@angular/router": "^4.2.4",
    "@ng-bootstrap/ng-bootstrap": "1.0.0-beta.3",
    "@ngx-translate/core": "^8.0.0",
    "@types/moment": "^2.13.0",
    "@types/moment-timezone": "^0.5.2",
    "angular-highcharts": "^4.1.0",
    "angular2-cookie": "^1.2.6",
    "angular2-jwt": "^0.2.3",
    "angular2-virtual-scroll": "^0.3.2",
    "angular4-jsoneditor": "^1.0.7",
    "bootstrap": "^3.3.7",
    "core-js": "^2.4.1",
    "d3": "^4.12.0",
    "flag-icon-css": "^2.8.0",
    "highcharts": "^6.0.5",
    "intro.js": "^2.8.0-alpha.1",
    "jquery": "^2.1.4",
    "jquery-sparkline": "^2.4.0",
    "memcached": "^2.2.2",
    "moment": "^2.20.1",
    "moment-timezone": "^0.5.14",
    "mydatepicker": "^2.6.1",
    "ng-click-outside": "^2.4.1",
    "ng2-charts": "^1.6.0",
    "ng2-dnd": "^2.2.0",
    "ng2-file-upload": "^1.3.0",
    "ng2-toasty": "^4.0.3",
    "ng2-ui-switch": "^1.0.2",
    "ngx-bootstrap": "^2.0.0-rc.0",
    "ngx-chips": "^1.6.3-rc.3",
    "ngx-popover": "0.0.16",
    "rxjs": "^5.5.2",
    "zone.js": "^0.8.14"
  },
  "devDependencies": {
    "@angular/cli": "1.3.0",
    "@angular/compiler-cli": "^4.2.4",
    "@angular/language-service": "^4.2.4",
    "@types/highcharts": "^5.0.16",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "~6.0.60",
    "codelyzer": "~3.1.1",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.2.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.2.0",
    "tslint": "~5.3.2",
    "typescript": "~2.3.3",
    "webpack-dev-server": "^2.9.7"
  }
}

What do you use to build your app?. Please specify the version angular-cli

Angular version: 4.2.4

ngx-chips version: 1.6.3-rc.3

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
Gbuompriscocommented, Feb 11, 2018

I think you need to upgrade Angular to v5, in alternative use 1.5.11

3reactions
DatTram0610commented, Mar 7, 2018

Don’t forget to stop terminal, run command npm install to make sure ngx-chips’s version is 1.5.11, then start your Angular application again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR in Metadata version mismatch for module X found ...
ERROR in Metadata version mismatch for module ngx-clipboard/dist/index.d.ts, found version 4, expected 3, resolving symbol AppModule in .
Read more >
Metadata version mismatch for module found version 4 ...
I'm having issues building my Angular 4.2 app with bugsnag-angular 2.x + bugsnag-js 4.6.x. Looks like this is only occurring with the -prod ......
Read more >
Metadata version mismatch for module /mobile/node_modules ...
Hi I have this error when try to run a command: sudo ionic cordova ... .d.ts, found version 4, expected 3 Error: Metadata...
Read more >
Metadata version mismatch for module - Found vs Expected
When you upgrade a npm package, you may encounter Angular error `Metadata version mismatch for module` related to version mismatch.
Read more >
Zen 15 metadata version mismatch error creating database in ...
This error only occurs with Zen 15, I can create the database for the same dataset in previous versions of Zen without error....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found