Skip to main content

Current error "Cannot find Lightning Component Bundle lwc learning."  Apparently at some point I created an LWC called lwc learning or lwc_learning. I now can't find the folder or file but when attempting to deploy source to org I can't do it :(     Is there a way to ignore this file or folder specifically? Or even better find and remove the reference.     Please halp.

 

#SFDX CLI #Lightning Web Components #Lightning Configuration 

Cannot find Lightning Component Bundle

 

Screen Shot 2021-07-11 at 12.54.45 pm.png

 

Screen Shot 2021-07-11 at 12.54.54 pm.png

2 answers
  1. Feb 11, 2:45 PM

    I know this question is old, but I had a similar problem: the error indicated that itcouldn't find lwc 'ProjectAccounts' but I didn't even code a LWC with this name. Noticed that it was the exact name of my parent/project folder, not an old LWC. 

    So I renamed it with LowerCase only ( ProjectAccounts -> project-accounts) and it worked!! Maybe it's a problem with naming the sf project with Upper case 

     

    Also I used the following command in the terminal:  

    sf project deploy start --source-dir force-app/main/default/lwc/<YOUR-LWC-NAME>  --target-org <YOUR-ORG>

0/9000