Here is the error occurring in the prod assembly
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/var/www/project/src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.ts
Getting an error because new versions of packages are installed after running npm install. It is not possible to split version versions of packages because the list is too long. He works with aot false, but does not want to build with aot false. Failed to figure out which package is responsible for this.
Aabid source
share