Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AOT prod build error #2347

Open
hemachandsai opened this issue Oct 1, 2018 · 0 comments
Open

AOT prod build error #2347

hemachandsai opened this issue Oct 1, 2018 · 0 comments

Comments

@hemachandsai
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant