DEV Community

Rohit
Rohit

Posted on

Hii All, I am new to this community I am creating dockerfile in order to dockerize a angular project but I am getting 1 error can anyone please help?

Top comments (3)

Collapse
 
ngtduc693 profile image
Duc Nguyen Thanh

What error do you encounter? Please describe clearly

Collapse
 
rohit540073640t profile image
Rohit

Dear Sir,
While running the Docker build for the frontend, i have encountering multiple errors related to missing Angular decorators. Specifically, classes like HomeComponent, DivisionComponent, and others are listed in AppRoutingModule's declarations but aren't recognized as directives, components, or pipes. This is causing the build to fail with NG6001 errors. But Angular decorators in these components looks correct as I checked with angular developer

Collapse
 
ngtduc693 profile image
Duc Nguyen Thanh • Edited

Try to run ng update, delete the node_modules foder and quick check the dist folder