You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using multiple angular apps with enableProdMode only first angular app works, on clicking next one, there is error in console "app died in status loading_source_code: cannot enable prod mode after platform setup". Even after build step same thing is happening. But without enableProdMode everything is fine and there is no issue (atleast in dev mode)
The text was updated successfully, but these errors were encountered:
I'm of the view since I'm on localhost (OS Windows 8.1) so import { isDevMode } from '@angular/core'; is better here to ascertain my environment. I try to use if(!isDevMode()) enableProdMode(); and am good to go. Now curious to see will it really good in prod environment as well coz on prod environment enableProdMode() should work fine?
When using multiple angular apps with enableProdMode only first angular app works, on clicking next one, there is error in console "app died in status loading_source_code: cannot enable prod mode after platform setup". Even after build step same thing is happening. But without enableProdMode everything is fine and there is no issue (atleast in dev mode)
The text was updated successfully, but these errors were encountered: