When creating lightning components with sfdx I was giving the full path,
force-app/main/default/aura
when I was already in the directory that I wanted to place the component in. Therefore I created a bunch of unecessary sub directories. Before I knew it I had pushed to the org with all these wrong directories:
/home/maxbisesi/Public/geolocation/force-app/main/default/aura/force-app/main/default/aura/AccountLocator/AccountLocator.cmp.
I deleted the subdirectories and put all the components in the same dir where they belong but now when trying to push or pull I get:
ERROR: Expected content file(s) at source path(s): /home/maxbisesi/Public/geolocation/force-app/main/default/aura/force-app/main/default/aura/AccountLocator/AccountLocator.cmp.
What do I do ?
edit:
I tried
sfdx force:source:push --forceoverwrite
No dice...