- Full report name: Element may be one of several components
- Related to: components
- Summary: an element could be one of several components and Warhol can't decide
- How to fix: update your component library, Warhol configuration or the component on the target page
This error occurs when an element matches more than one component target selectors and Warhol is unable to decide which component the element is supposed to be. As a consequence Warhol is unable to check the styles on a component and its children.
Each component should have one canonical selector that it is unambiguously identified by. This error points to some not-quite unambiguously component selectors. You need to either fix your component library, Warhol configuration or the component on the target page.