ERROR in Error: Metadata version mismatch for module
See original GitHub issueHi, I am using 5.1.6 version. Here is detail of my angular app dependency. Please help me with this problem thanks!
Angular modules and versions.
"@angular/animations": "^4.4.6",
"@angular/cdk": "^5.2.1",
"@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",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-beta.5",
ERROR in Error: Metadata version mismatch for module C:/Users/Sami/Documents/cloud2_client/node_modules/ng-pick-datetime/picker.d.ts, found version 4, expected 3, resolving symbol System Module in C:/Users/Sami/Documents/cloud2_client/src/app/systems/system.module.ts, resolving symbol SystemModule in C:/Users/Sami/Documents/cloud2_client/src/app/systems/system.module.ts at syntaxError (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler\bundles\compiler.umd.js:1729:34) at simplifyInContext (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler\bundles\compiler.umd.js:24979:23) at StaticReflector.simplify (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler\bundles\compiler.umd.js:24991:13) at StaticReflector.annotations (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler\bundles\compiler.umd.js:24418:41) at _getNgModuleMetadata (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_impl.js:138:31) at _extractLazyRoutesFromStaticModule (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_impl.js:109:26) at C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_impl.js:129:27 at Array.reduce (<anonymous>) at _extractLazyRoutesFromStaticModule (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_impl.js:128:10) at Object.listLazyRoutesOfModule (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_impl.js:53:22) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\Sami\Documents\cloud2_client\node_modules\@angular\compiler-cli\src\ngtools_api.js:91:39) at AotPlugin._getLazyRoutesFromNgtools (C:\Users\Sami\Documents\cloud2_client\node_modules\@ngtools\webpack\src\plugin.js:212:44) at _donePromise.Promise.resolve.then.then.then.then.then (C:\Users\Sami\Documents\cloud2_client\node_modules\@ngtools\webpack\src\plugin.js:448:24) at <anonymous>
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
update you angular cli version
update you angular version to 5+