You're definitely hiding the actual code that has cause the error.
for example you are using material tags but I don't see any material module imported in the app.module.ts and the build would have failed already.
other, you are hiding the routes that are being used in the application and one of the components for that route is probably breaking.
If you actually share the real code, we might be able to help you out
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.