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.

Metadata version mismatch for module With @agm/core

See original GitHub issue

I am getting version mismatch issue while creating build or “ng serve” after I installed @agm/core package for Google Autocomplete required at one page.

Error : Metadata version mismatch for module /application/node_modules/@agm/core/index.d.ts, found version 4, expected 3, resolving symbol AppModule in /application/src/app/app.module.ts

Following commands were used to install - $ npm install @agm/core --save $ npm install @types/googlemaps --save-dev

Installation was fine and it was working smoothly but I am not able to serve again or create build.

Here is my packages list :

“dependencies”: { “@agm/core”: “^1.0.0-beta.3”, “@angular/common”: “^4.0.0”, “@angular/compiler”: “^4.0.0”, “@angular/core”: “^4.0.0”, “@angular/forms”: “^4.0.0”, “@angular/http”: “^4.0.0”, “@angular/platform-browser”: “^4.0.0”, “@angular/platform-browser-dynamic”: “^4.0.0”, “@angular/router”: “^4.0.0”, “@types/braintree-web”: “^3.6.3”, “@types/stripe”: “^5.0.11”, “@types/waypoints”: “^4.0.1”, “bootstrap3”: “^3.3.5”, “braintree-web”: “^3.34.0”, “core-js”: “^2.4.1”, “counterup”: “^1.0.2”, “countup.js-angular2”: “^6.0.0”, “font-awesome”: “^4.7.0”, “jquery”: “^3.3.1”, “jquery-waypoints”: “^2.0.5”, “ng2-cookies”: “^1.0.12”, “ngx-bootstrap”: “^2.0.4”, “ngx-braintree”: “^1.9.1”, “ngx-progressbar”: “^2.1.1”, “popper.js”: “^1.14.3”, “rxjs”: “^5.1.0”, “stripe”: “^6.0.0”, “zone.js”: “^0.8.4” }, “devDependencies”: { “@angular/cli”: “^1.7.4”, “@angular/compiler-cli”: “^4.0.0”, “@types/google.analytics”: “0.0.39”, “@types/googlemaps”: “^3.30.11”, “@types/jasmine”: “2.5.38”, “@types/jquery”: “^3.3.2”, “@types/node”: “~6.0.60”, “codelyzer”: “~2.0.0”, “jasmine-core”: “~2.5.2”, “jasmine-spec-reporter”: “~3.2.0”, “karma”: “~1.4.1”, “karma-chrome-launcher”: “~2.0.0”, “karma-cli”: “~1.0.1”, “karma-coverage-istanbul-reporter”: “^0.2.0”, “karma-jasmine”: “~1.1.0”, “karma-jasmine-html-reporter”: “^0.2.2”, “protractor”: “^5.3.2”, “ts-node”: “~2.0.0”, “tslint”: “~4.5.0”, “typescript”: “~2.2.0” }

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

5reactions
stale[bot]commented, Apr 16, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

5reactions
vivekdoshi2commented, Jul 17, 2018

Changing :

From "@agm/core": "^1.0.0-beta.3" to "@agm/core": "^1.0.0-beta.2", working for me for Angular Version 4.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metadata version mismatch for module With @agm/core #1456
I am getting version mismatch issue while creating build or "ng serve" after I installed @agm/core package for Google Autocomplete required ...
Read more >
angular : ERROR in Metadata version mismatch for module
go to node_modules/angular-2-dropdown-multiselect. and open file angular-2-dropdown-multiselect.metadata.json and change version 4 to 3.
Read more >
Metadata version mismatch for module /mobile/node_modules ...
Hi I have this error when try to run a command: sudo ionic cordova run android --prod --release Error: ionic-app-script task: "build" ...
Read more >
metadata version mismatch for module ng-bootstrap
The error is caused by the fact that ng-bootstrap module version that is installed has its metadata targeted for a higher version of...
Read more >
Metadata version mismatch for module - Found vs Expected
This command will automatically do minor version upgrade, which is suppose to have no breaking changes at all and it is meant just...
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