Skip to main content
Arjun Singh (EY GDS) 님이 #Lighting Web Components에 질문했습니다

We couldn't find a Lightning web component named 'helloWorld'.

I am getting the above error but the page has such component on top which is clearly visible. I followed all the steps mentioned in the tutorial but still can't resolve the error.

It would be good if someone can help on this.

 

#Lighting Web Components

답변 3개
  1. 5월 30일 오후 12:58

    This usually happens when Salesforce is unable to recognize the component even if it looks visible in the UI.

    Most common reasons are:

    •  The component name is case-sensitive (helloWorld must match exactly in folder, file, and usage) 
    •  The component is not properly deployed to the org 
    •  The meta.xml file is missing proper exposure targets 
    •  The page still has a cached or old version of the component 

    Try removing the component from the page, deploying again, and then re-adding it in Lightning App Builder. In most cases, this fixes the issue.

0/9000