9+ years in C#.NET. | Winner of 1st prize and 2 consolation prizes in Microsoft Student Vietnam's programming contest. | Apache Superset | Power Platform | Python | COBOL
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
9+ years in C#.NET. | Winner of 1st prize and 2 consolation prizes in Microsoft Student Vietnam's programming contest. | Apache Superset | Power Platform | Python | COBOL
9+ years in C#.NET. | Winner of 1st prize and 2 consolation prizes in Microsoft Student Vietnam's programming contest. | Apache Superset | Power Platform | Python | COBOL
Top comments (6)
What error do you encounter? Please describe clearly
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
Try to run ng update, delete the node_modules foder and quick check the dist folder
Still showing errors
Do you try the github copilot or chatgpt to verify your dockerfile?
Yes Sir,
Dockerfile is correct