Forum Discussion
vijit-devops
Jan 07, 2022Copper Contributor
Angular build showing BrowserModule has already been loaded on browser
Hi, I have angular build pipeline at Azure DevOps and it is successfully deployed to the Azure App service. The issue I am facing is while on selecting specific option it is not responding. and ...
bhaikaju
Microsoft
Dec 02, 2022tbsouza: Please remove the import for the BrowserModule from any other module because it is already imported in the AppModule when you create the Angular application. You should only import the CommonModule in all other modules.
Hope it helps!! ![]()
Dee_ep
Feb 27, 2023Copper Contributor
Got the same error ('Error: BrowserModule has already been loaded...'), and the fix was similar to what bhaikaju mentioned, but I had to remove BrowserAnimationsModule from other modules, since it was already imported in AppModule. So basically, remove that extra module import from from any other module which is already imported in the AppModule.