angular-seed icon indicating copy to clipboard operation
angular-seed copied to clipboard

AOT prod build error

Open hemachandsai opened this issue 7 years ago • 0 comments

When i tried to produce aot-build iam facing the same version mismatch error for multiple packages. Is it due to the incompatibility of those packages version to produce aot build? Can anyone help me with this. Thanks in advance!! [16:17:54] Starting 'compile.ahead.prod'... Error: Metadata version mismatch for module C:/Users/awdev1/Desktop/mm-ngx/node_modules/@ng-bootstrap/ng-bootstrap/accordion/accordion-config.d.ts, found version 4, expected 3 at StaticSymbolResolver.getModuleMetadata (C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler@angular\compiler.es5.js:25586:7) at StaticSymbolResolver._createSymbolsOf (C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler@angular\compiler.es5.js:25374:10) at StaticSymbolResolver.getSymbolsOf (C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler@angular\compiler.es5.js:25355:12) at C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler\bundles\compiler.umd.js:24241:30 at Array.forEach () at extractProgramSymbols (C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler@angular\compiler.es5.js:24210:55) at AotCompiler.analyzeModulesAsync (C:\Users\awdev1\Desktop\mm-ngx\node_modules@angular\compiler@angular\compiler.es5.js:23766:7) at CodeGenerator.codegen (C:\Users\awdev1\Desktop\mm-ngx\packages\compiler-cli\src\codegen.ts:41:10) at codegen (C:\Users\awdev1\Desktop\mm-ngx\tools\tasks\seed\compile.ahead.prod.ts:13:69) at Object.main (C:\Users\awdev1\Desktop\tools@angular\tsc-wrapped\src\main.ts:136:12) Compilation failed npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build.prod.aot: gulp build.prod.aot --color --env-config prod --build-type prod npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build.prod.aot script.

hemachandsai avatar Oct 01 '18 10:10 hemachandsai