AOT prod build error
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 (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.