This LWC1010 compilation error is caused by an invalid reference to the component filename. By default camel case component folder names are mapped to kebab-case in the markup when calling them from Lightning Web Components. To resolve entry for module errors check the proper naming and hyphen.

Eg. myComponent would be my-component

Visual Studio code autocomplete would miss this example ” myCRMApp”


To fix this myCRMApp would be my-c-r-m-app


One response to “How to Fix Compilation LWC1010: Failed to resolve entry for module”

  1. […] on Lightning Web Components(LWC) and create a course in the next few months. Aside from learning kebab case is not a food, the other thing that made me scratch my head when I dabbled with LWC was decorators. […]

Leave a Reply

Your email address will not be published. Required fields are marked *