Troubleshooting Angular production build errors — Uncaught TypeError: Cannot read properties of undefined (reading ‘a’)

While working with Angular applications, you may find yourself in a position where your development build is successful with command, application works fine in browser. However, as soon as you create a production build with command you start getting the where could be any other property name or object. The console errors will show the compiled JavaScript…

--

--

Google Developer Expert Angular | Architect | Author | https://www.linkedin.com/in/balram-chavan | https://www.hiretheauthor.com/balramchavan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store