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.
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.