Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ERROR in Error: Metadata version mismatch for module .... /Cliente/node_modules/@ng-bootstrap/ng-bootstrap/index.d.ts, found version 4, ex pected 3, resolving symbol SharedModule.... #2039
Hello everyone, i am trying to install this template in angular 4 but when write ng serve comand i get this error.
ERROR in Error: Metadata version mismatch for module C:/Users/Eder/Desktop/Tesis
webpack: Failed to compile.
You should probably use angular 5 because this type of problem appears with other modules as well that were built depending on Angular 5 (just like this new version of @ng-bootstrap).
added a commit
Dec 20, 2017
I got the same error
Probably in your package.json you have the following:
The problem is with the dependecies versions, so you can just update everthing to the last version, there is a topic in stackoverflow already: Metadata version mismatch with Angular 4
Or in my case that I couldn't just update all packages,I did the following:
I removed the package, also removed the ^ signal before the version number and then ran npm i again.
After this the app worked properly.
This will upgrade Angular from any version to latest version. I was also facing some issues this upgrade solved issues.