I deployed an Angular app, through Gitlab and when I git push I get error:
9:21:04 PM: ERROR in app/views/home/home.module.ts(59,27): Error during template compile of 'HomeModule’
9:21:04 PM: Could not resolve ./core/core.component relative to [object Object]. in 'HomeRoutes’
9:21:04 PM: ‘HomeRoutes’ contains the error at app/views/home/home.routing.ts(14,30).
9:21:04 PM: src/app/views/home/home.routing.ts(7,29): error TS2307: Cannot find module ‘./core/core.component’.
9:21:04 PM: src/app/views/home/home.module.ts(45,29): error TS2307: Cannot find module ‘./core/core.component’.
Although, the app passes the ng build --prod and runs properly, locally. No errors. Can you help me?