Base solution for your next web application
Open Closed

ng build --prod fails with multiple User lookups #5778


User avatar
0
rcoville created

Hello - I am trying to build my app for deployment onto Azure.

I am working thru the steps here: Step by Step publish to Azure

My code compiles fine locally to run/test on localhost.

the ng build --prod fails with multiple messages like: Cannot determine the module for class UserLookupTableModalComponent in C:/Users/Roger Coville/source/repos/RES/src/RES.Web.Host/src/app/main/datat/resSubTasks/user-lookup-table-modal.component.ts! Add UserLookupTableModalComponent to the NgModule to fix it.

I have other screens that lookup Users in the system. These modals however look up multiple users. Meaning someone "OWNS" the task - Someone else "COMPLETED" the task, etc.

Any thoughts on what could cause the build to fail only with --prod?

Thank you


2 Answer(s)