Angular CLI Deployment: Host Your Angular 2 App on Heroku
Ryan Chenkie
15344

Everything works perfect when build it locally. but when I do a heroku push I get this error(mentioned below), I am struggling for hours, can you please help. Thanks.

ERROR in Error encountered resolving symbol values statically. Could not resolve ./Home/home.component relative to /tmp/build_b4e3f44013d091fa664cbf80d85e6f31/src/app/app-routing.module
.ts., resolving symbol AppRoutingModule in /tmp/build_b4e3f44013d091fa664cbf80d85e6f31/src/app/app-r
outing.module.ts, resolving symbol AppRoutingModule in /tmp/build_b4e3f44013d091fa664cbf80d85e6f31/s
rc/app/app-routing.module.ts, resolving symbol AppRoutingModule in /tmp/build_b4e3f44013d091fa664cbf
80d85e6f31/src/app/app-routing.module.ts

Show your support

Clapping shows how much you appreciated Balaji Thiru’s story.