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