We have an Angular 4 application running. when i serve application using ng serve command it works fine locally but after building application using ng build --prod getting error message in the console as below.