After browsing through various topics with a similar issue, I have not found any solutions that address my specific reasons. The problem lies with a standard primeng button component.
<div [hidden]="isHidden||isProgramVisible" id="statusContainer"
style="text-align:right; position:absolute; overflow:hidden; bottom:40px;left:0px;max-height:60px;height:36px;right:0px;color:white;padding:6px;">
<p-button [hidden]="isHidden||isProgramVisible" label="Click" (onClick)="levelUp()"></p-button>
</div>
There seems to be no specific reason for the error I am encountering, as I am puzzled by the conflict. The p-button in question is a part of the primeng button module, which has been imported only once. Furthermore, the other button component that is in conflict is not a component itself, but merely a piece of div code. What could be causing this issue? This problem arose after migrating from angular 7 to angular 9.