angular-2-local-storage
angular-2-local-storage copied to clipboard
Metadata version mismatch node_modules/angular-2-local-storage/dist/notify-options.interface.d.ts, found version 4, expected 3
When running ng build -prod I am getting this exception using the latest version of the angular-2-local-storage.
If I install the previous version 1.0.1 I don't have any issues?
Same here, with angular4 I have can't run ng build --prod nor ng serve
How to resolve this problem?
Different versions of the Angular compiler generate different versions of the required metadata. I guess you need to match the right versions of the lib with the right versions of @angular/cli?
I don't know what versions of @angular/cli is right to match.Do you know?
my package.json: "angular-2-local-storage": "^1.0.1",
"@angular/cli": "^1.7.4", "@angular/compiler-cli": "4.1.3",
Latest versions of everything should work together, otherwise, I’m not sure.
You must choose the good version in your package.json is solved it this way
I've tried to use the latest version,, but it has not been solved. Thank you for your advise, i will try again.
The versions of @angular/cli or the versions of angular-2-local-storage?