I am trying to push lwc source code into a new scratch org. The source code works perfectly fine with my old scratch but when pushing to the new scratch org, I got this error:
No base file for markup://c:lwcdnd
I haven't used c-lwcdnd anywhere in my source code and I feel quite strange why this is happening. Any solutions to this issue?
I have also checked that I don't have any property defined in my meta file:
<?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="lwcdnd"> <apiVersion>45.0</apiVersion> <isExposed>true</isExposed> <targets> <target>lightning__AppPage</target> <target>lightning__RecordPage</target> <target>lightning__HomePage</target> </targets> </LightningComponentBundle>