Angular 4- ng build --prod results in error

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Angular 4- ng build --prod results in error



I build my proeject with ng build -prod.And it throws below error.


ERROR in ../main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappcomponentsevents-listevents.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappcomponentsintentionsintention.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappviewsexploreexplore.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappviewshomehome.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappviewslearnlearn.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappviewslivelive.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'
ERROR in ../$$_gendir lazy
Module not found: Error: Can't resolve 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendirappviewspublicationpublication.module.ngfactory.ts' in 'e:Working_Folder_MandalaMandalaConsumersrcmainwebappsrc$$_gendir'





github.com/angular/angular-cli/issues/4956
– Chellappan
Aug 13 at 4:32









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

oqwsMr,Pro0DxzoTIZQaDjJH KmFg13BKOLAsJGJh,UQg,YJ
g8qFMUOtXRuFiu bXniA,n9Uj0,Wqb2,l5TYVax,c,1rp43uvTHTgLDaptciDd uiYCXUB3cR8ZVUPG4VeWvBi Tpf4PSWrBce,O7xJUL V

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3