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

See original GitHub issue

Error ERROR in Error: Metadata version mismatch for module /someDir/node_modules/@uirouter/angular/lib/index.d.ts, found version 4, expected 3

Environment @angular/cli: 1.4.5 node: 6.11.2 os: linux x64 @angular/animations: 4.4.6 @angular/common: 4.4.6 @angular/compiler: 4.4.6 @angular/core: 4.4.6 @angular/forms: 4.4.6 @angular/http: 4.4.6 @angular/platform-browser: 4.4.6 @angular/platform-browser-dynamic: 4.4.6 @angular/router: 4.4.6 @angular/cli: 1.4.5 @angular/compiler-cli: 4.4.6 @angular/language-service: 4.4.6 @uirouter/angular: “1.0.0-rc.0” typescript: 2.3.4

I’m facing this issue once i’ve updated package from 1.0.0-beta.9 to 1.0.0-rc.0

Any ideas?

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
christopherthielencommented, Dec 6, 2017

1.0.0-rc.1 just released. It should be built with angular 4.4.6. I have no idea how I managed to build the previous release using v5!

lmk if this fixes the problem for ya’ll

0reactions
bouncehead13commented, Nov 29, 2017

Same problem for me as well. I’m not quite ready to upgrade to Angular 5 and it appears the 1.0.0-rc.0 was definitely built using Angular 5.x.

@christopherthielen Do you think a fix for this can be made? I wanted to try out the new lazyLoad features you tagged with that release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR in Metadata version mismatch for module X found ...
Symptom. This is a general pattern that applies to the build error ERROR in Metadata version mismatch for module <X> found version 4,...
Read more >
ERROR in Error: Metadata version mismatch for module ...
Hello everyone, i am trying to install this template in angular 4 but when write ng serve comand i get this error. i...
Read more >
Zen 15 metadata version mismatch error creating database in ...
Metadata version mismatch error when creating a database in the control center. This error only occurs with Zen 15, I can create the ......
Read more >
@jagcolombat/repair-mismatch - npm
Utility for repair error in metadata version mismatch between versions of Angular. Latest version: 1.1.5, last published: 4 years ago.
Read more >
Cordova Build Error: Metadata Version Mismatch - Ionic Forum
Hello guys, everytime I run ionic cordova build android --release --prod, I get the following error: Error: Metadata version mismatch for ...
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